Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1576/0.1576, allocations: 21.62 MB / 36.57 MB, free: 1.062 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 182.4 kB / 42.83 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 272.1 MB, free: 1.727 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009437, allocations: 111 kB / 328.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003209, allocations: 8 kB / 397.1 MB, free: 46.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 55.8 MB / 452.9 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.442, allocations: 83.92 MB / 0.5243 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.4423, allocations: 68.92 kB / 0.5243 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02863/0.4709, allocations: 12.28 MB / 0.5363 GB, free: 8.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4709, allocations: 0 / 0.5363 GB, free: 8.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.471, allocations: 15.44 kB / 0.5363 GB, free: 8.496 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002247/0.4732, allocations: 1.057 MB / 0.5374 GB, free: 7.777 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4733, allocations: 11.41 kB / 0.5374 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.4735, allocations: 111.4 kB / 0.5375 GB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.4738, allocations: 88.41 kB / 0.5376 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4749, allocations: 0.5773 MB / 0.5381 GB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.475, allocations: 80.44 kB / 0.5382 GB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.4751, allocations: 76.78 kB / 0.5383 GB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4765, allocations: 0.9285 MB / 0.5392 GB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.4765, allocations: 7.953 kB / 0.5392 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.4766, allocations: 30.97 kB / 0.5392 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.4766, allocations: 15.41 kB / 0.5392 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4778, allocations: 0.7312 MB / 0.54 GB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005376/0.4832, allocations: 3.784 MB / 0.5437 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.4854, allocations: 0.9198 MB / 0.5446 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.164e-05/0.4855, allocations: 7.969 kB / 0.5446 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4855, allocations: 38.16 kB / 0.5446 GB, free: 4.539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.897e-06/0.4855, allocations: 0 / 0.5446 GB, free: 4.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.005032/0.4906, allocations: 2.863 MB / 0.5474 GB, free: 3.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4906, allocations: 63.5 kB / 0.5475 GB, free: 3.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.4911, allocations: 381.9 kB / 0.5478 GB, free: 3.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.4911, allocations: 37.39 kB / 0.5479 GB, free: 3.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4913, allocations: 320.2 kB / 0.5482 GB, free: 2.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4914, allocations: 234.3 kB / 0.5484 GB, free: 2.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.4915, allocations: 13.91 kB / 0.5484 GB, free: 2.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.4916, allocations: 367.2 kB / 0.5487 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.4922, allocations: 447.5 kB / 0.5492 GB, free: 2.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.4928, allocations: 0.5167 MB / 0.5497 GB, free: 2.168 MB / 362.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.006415/0.4992, allocations: 2.075 MB / 0.5517 GB, free: 1.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4993, allocations: 7.891 kB / 0.5517 GB, free: 1.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002245/0.5015, allocations: 1.252 MB / 0.5529 GB, free: 140 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005474/0.5021, allocations: 1.13 MB / 0.554 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.5021, allocations: 4 kB / 0.554 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008399/0.503, allocations: 219.8 kB / 0.5542 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.5044, allocations: 251.5 kB / 0.5545 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.51, allocations: 7.41 MB / 0.5617 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/0.5107, allocations: 53.73 kB / 0.5618 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.5108, allocations: 30.3 kB / 0.5618 GB, free: 6.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.5109, allocations: 4 kB / 0.5618 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00213/0.513, allocations: 1.162 MB / 0.5629 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.513, allocations: 4 kB / 0.5629 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/0.5137, allocations: 215.6 kB / 0.5632 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.515, allocations: 251.3 kB / 0.5634 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005328/0.5204, allocations: 7.412 MB / 0.5706 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.5211, allocations: 48.64 kB / 0.5707 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.5212, allocations: 26.84 kB / 0.5707 GB, free: 14.17 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.tube.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006505/0.5219, allocations: 360.9 kB / 0.571 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.522, allocations: 47.44 kB / 0.5711 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.5239, allocations: 0.9954 MB / 0.5721 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.5239, allocations: 4 kB / 0.5721 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5239, allocations: 4 kB / 0.5721 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5239, allocations: 7.922 kB / 0.5721 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.5272, allocations: 2.018 MB / 0.5741 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5272, allocations: 4.156 kB / 0.5741 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.5287, allocations: 231.8 kB / 0.5743 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/0.5292, allocations: 172.1 kB / 0.5744 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.5293, allocations: 39.97 kB / 0.5745 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004889/0.5342, allocations: 6.969 MB / 0.5813 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5343, allocations: 4.031 kB / 0.5813 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.5369, allocations: 1.426 MB / 0.5827 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.5371, allocations: 132.5 kB / 0.5828 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.5373, allocations: 35.98 kB / 0.5828 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.5379, allocations: 31.88 kB / 0.5829 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.5381, allocations: 48.48 kB / 0.5829 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.5381, allocations: 19.98 kB / 0.5829 GB, free: 1.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003799/0.5385, allocations: 295.2 kB / 0.5832 GB, free: 1.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5385, allocations: 4 kB / 0.5832 GB, free: 1.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001336/0.5399, allocations: 405.1 kB / 0.5836 GB, free: 1.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002638/0.5425, allocations: 2.14 MB / 0.5857 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.546, allocations: 2.585 MB / 0.5882 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.546, allocations: 4 kB / 0.5882 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.5471, allocations: 0.9699 MB / 0.5892 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.5478, allocations: 167.3 kB / 0.5893 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.5555, allocations: 6.049 MB / 0.5952 GB, free: 4.734 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.5562, allocations: 1.005 MB / 0.5962 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009484/0.5572, allocations: 320.5 kB / 0.5965 GB, free: 3.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.5576, allocations: 255.4 kB / 0.5968 GB, free: 3.137 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5576, allocations: 0 / 0.5968 GB, free: 3.137 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.5911, allocations: 18.04 MB / 0.6144 GB, free: 1.344 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.5913, allocations: 186.3 kB / 0.6146 GB, free: 1.102 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.961, allocations: 0 / 0.6146 GB, free: 1.102 MB / 426.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)