Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.09736/0.09736, allocations: 21.62 MB / 36.56 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.001115/0.001115, allocations: 183.1 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.366/1.366, allocations: 223.2 MB / 272.1 MB, free: 1.781 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.001078/0.001078, allocations: 102.8 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 397.1 MB, free: 46.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 55.81 MB / 452.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4512, allocations: 82.21 MB / 0.5226 GB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.4514, allocations: 67.77 kB / 0.5227 GB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.468, allocations: 6.526 MB / 0.529 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.468, allocations: 0 / 0.529 GB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.468, allocations: 7.688 kB / 0.529 GB, free: 11.07 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001207/0.4693, allocations: 0.6802 MB / 0.5297 GB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4693, allocations: 11.53 kB / 0.5297 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.4694, allocations: 67.53 kB / 0.5298 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.4695, allocations: 42.91 kB / 0.5298 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.4699, allocations: 333.4 kB / 0.5301 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4699, allocations: 22.41 kB / 0.5302 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.47, allocations: 30.31 kB / 0.5302 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.4706, allocations: 454.4 kB / 0.5306 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4707, allocations: 0 / 0.5306 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.4707, allocations: 17.73 kB / 0.5306 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4707, allocations: 6.656 kB / 0.5306 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.4714, allocations: 403.8 kB / 0.531 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.4737, allocations: 1.357 MB / 0.5324 GB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.4742, allocations: 325.6 kB / 0.5327 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.4742, allocations: 11.33 kB / 0.5327 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.4742, allocations: 30.56 kB / 0.5327 GB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003177/0.4746, allocations: 62.03 kB / 0.5328 GB, free: 9.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.4746, allocations: 0 / 0.5328 GB, free: 9.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008518/0.4754, allocations: 0.5175 MB / 0.5333 GB, free: 9.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.4755, allocations: 55.25 kB / 0.5333 GB, free: 8.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.4757, allocations: 281.7 kB / 0.5336 GB, free: 8.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4757, allocations: 33.45 kB / 0.5336 GB, free: 8.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4758, allocations: 201 kB / 0.5338 GB, free: 8.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.4759, allocations: 108.7 kB / 0.5339 GB, free: 8.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.476, allocations: 7.938 kB / 0.5339 GB, free: 8.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.476, allocations: 345.9 kB / 0.5343 GB, free: 8.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4763, allocations: 163.3 kB / 0.5344 GB, free: 8.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4766, allocations: 228.1 kB / 0.5346 GB, free: 8.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.4768, allocations: 192.9 kB / 0.5348 GB, free: 8.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4769, allocations: 0 / 0.5348 GB, free: 8.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001187/0.478, allocations: 0.5302 MB / 0.5353 GB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.4782, allocations: 0.5383 MB / 0.5359 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4782, allocations: 0 / 0.5359 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.4789, allocations: 99.52 kB / 0.536 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.4795, allocations: 108.7 kB / 0.5361 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/0.4798, allocations: 0.5926 MB / 0.5366 GB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.4801, allocations: 10.97 kB / 0.5366 GB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.4802, allocations: 19.02 kB / 0.5367 GB, free: 6.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/0.4802, allocations: 3.844 kB / 0.5367 GB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009469/0.4811, allocations: 475.8 kB / 0.5371 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.4812, allocations: 0 / 0.5371 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.4817, allocations: 84.25 kB / 0.5372 GB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.4822, allocations: 107.9 kB / 0.5373 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002492/0.4825, allocations: 0.579 MB / 0.5379 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.4827, allocations: 27.3 kB / 0.5379 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.4828, allocations: 15.55 kB / 0.5379 GB, free: 6.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.483, allocations: 235.3 kB / 0.5381 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.483, allocations: 34.92 kB / 0.5382 GB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.4838, allocations: 474 kB / 0.5386 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4838, allocations: 3.969 kB / 0.5386 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4838, allocations: 0 / 0.5386 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4838, allocations: 0 / 0.5386 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.4852, allocations: 1.014 MB / 0.5396 GB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4852, allocations: 3.906 kB / 0.5396 GB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009619/0.4861, allocations: 146.1 kB / 0.5398 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4862, allocations: 0 / 0.5398 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.4862, allocations: 19.64 kB / 0.5398 GB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001783/0.4864, allocations: 0.5852 MB / 0.5403 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4864, allocations: 0 / 0.5403 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.4873, allocations: 0.7277 MB / 0.5411 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.4874, allocations: 110.6 kB / 0.5412 GB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.4874, allocations: 11.08 kB / 0.5412 GB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.4877, allocations: 17.39 kB / 0.5412 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4878, allocations: 23.19 kB / 0.5412 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.4879, allocations: 11.42 kB / 0.5412 GB, free: 4.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4881, allocations: 227.1 kB / 0.5414 GB, free: 4.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4881, allocations: 0 / 0.5414 GB, free: 4.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005322/0.4886, allocations: 202.1 kB / 0.5416 GB, free: 4.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (tube.w,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.4897, allocations: 1.428 MB / 0.543 GB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.4909, allocations: 0.6614 MB / 0.5437 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.491, allocations: 4.062 kB / 0.5437 GB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.4914, allocations: 227.7 kB / 0.5439 GB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4918, allocations: 79.86 kB / 0.544 GB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4936, allocations: 2.415 MB / 0.5463 GB, free: 1.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.4938, allocations: 0.8214 MB / 0.5471 GB, free: 260 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003564/0.4942, allocations: 101.4 kB / 0.5472 GB, free: 216 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.4944, allocations: 134.6 kB / 0.5474 GB, free: 196 kB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4944, allocations: 4 kB / 0.5474 GB, free: 192 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5151, allocations: 9.013 MB / 0.5562 GB, free: 10.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.5153, allocations: 194 kB / 0.5563 GB, free: 10.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.582, allocations: 0 / 0.5563 GB, free: 10.48 MB / 378.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)