Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.1016/0.1016, allocations: 21.61 MB / 36.56 MB, free: 1.082 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.001331/0.001331, allocations: 187.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.35/1.35, allocations: 223.2 MB / 272.1 MB, free: 1.742 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.0008921/0.000892, allocations: 96.31 kB / 328.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 397.1 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09029, allocations: 55.82 MB / 452.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.4193, allocations: 80.99 MB / 0.5214 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4196, allocations: 65.66 kB / 0.5215 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.439, allocations: 7.403 MB / 0.5287 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.439, allocations: 0 / 0.5287 GB, free: 11.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.4391, allocations: 7.688 kB / 0.5287 GB, free: 11.16 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001477/0.4406, allocations: 0.7081 MB / 0.5294 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4406, allocations: 11.16 kB / 0.5294 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.325e-05/0.4407, allocations: 68.91 kB / 0.5295 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.4408, allocations: 38.75 kB / 0.5295 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.4413, allocations: 366.7 kB / 0.5299 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4413, allocations: 22.31 kB / 0.5299 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.4414, allocations: 36.06 kB / 0.5299 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.4422, allocations: 496.8 kB / 0.5304 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4422, allocations: 7.938 kB / 0.5304 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.4422, allocations: 10.16 kB / 0.5304 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4422, allocations: 7.844 kB / 0.5304 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.4431, allocations: 0.5482 MB / 0.531 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.4454, allocations: 1.339 MB / 0.5323 GB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.446, allocations: 407.8 kB / 0.5327 GB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.4461, allocations: 7.203 kB / 0.5327 GB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4461, allocations: 42.48 kB / 0.5327 GB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00032/0.4464, allocations: 77.27 kB / 0.5328 GB, free: 9.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.4464, allocations: 0 / 0.5328 GB, free: 9.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001125/0.4476, allocations: 0.6866 MB / 0.5334 GB, free: 9.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.4476, allocations: 55.25 kB / 0.5335 GB, free: 9.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.4479, allocations: 304.4 kB / 0.5338 GB, free: 8.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.4479, allocations: 36.48 kB / 0.5338 GB, free: 8.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.448, allocations: 208 kB / 0.534 GB, free: 8.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4481, allocations: 152.7 kB / 0.5342 GB, free: 8.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.4482, allocations: 13.03 kB / 0.5342 GB, free: 8.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.4483, allocations: 361.2 kB / 0.5345 GB, free: 8.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.4486, allocations: 238.3 kB / 0.5347 GB, free: 8.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.449, allocations: 351.1 kB / 0.5351 GB, free: 8.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.4495, allocations: 300.3 kB / 0.5354 GB, free: 8.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4495, allocations: 0 / 0.5354 GB, free: 8.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009651/0.4504, allocations: 0.7011 MB / 0.5361 GB, free: 7.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.4507, allocations: 1.133 MB / 0.5372 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4507, allocations: 3.938 kB / 0.5372 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.4507, allocations: 3.844 kB / 0.5372 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.453, allocations: 391 kB / 0.5375 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007945/0.4538, allocations: 1.229 MB / 0.5387 GB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.4543, allocations: 30.84 kB / 0.5388 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.4543, allocations: 22.19 kB / 0.5388 GB, free: 5.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4544, allocations: 3.875 kB / 0.5388 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000939/0.4553, allocations: 0.6318 MB / 0.5394 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4553, allocations: 12 kB / 0.5394 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.024e-06/0.4553, allocations: 7.734 kB / 0.5394 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.4568, allocations: 339.2 kB / 0.5398 GB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4582, allocations: 2.634 MB / 0.5423 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.4586, allocations: 27.38 kB / 0.5424 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.4587, allocations: 30.2 kB / 0.5424 GB, free: 2.434 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.4589, allocations: 255.6 kB / 0.5426 GB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.459, allocations: 42.7 kB / 0.5427 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/0.46, allocations: 0.5954 MB / 0.5432 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.46, allocations: 7.656 kB / 0.5433 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.46, allocations: 0 / 0.5433 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.46, allocations: 3.984 kB / 0.5433 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.4605, allocations: 0.5264 MB / 0.5438 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4605, allocations: 0 / 0.5438 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.4619, allocations: 274.1 kB / 0.544 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.462, allocations: 4 kB / 0.544 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.462, allocations: 22.39 kB / 0.5441 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.462, allocations: 4 kB / 0.5441 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.462, allocations: 0 / 0.5441 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4631, allocations: 0.8083 MB / 0.5449 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.4632, allocations: 115.5 kB / 0.545 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.4632, allocations: 14.22 kB / 0.545 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.4636, allocations: 22.84 kB / 0.545 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.4637, allocations: 35.41 kB / 0.545 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4637, allocations: 14.62 kB / 0.545 GB, free: 1.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.4639, allocations: 242.9 kB / 0.5453 GB, free: 1.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4639, allocations: 0 / 0.5453 GB, free: 1.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006649/0.4646, allocations: 226.6 kB / 0.5455 GB, free: 1.133 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (str1.w,str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.w,str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.4659, allocations: 1.358 MB / 0.5468 GB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.4685, allocations: 0.9915 MB / 0.5478 GB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4685, allocations: 0 / 0.5478 GB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.4688, allocations: 252.5 kB / 0.548 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.4692, allocations: 93.97 kB / 0.5481 GB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.4738, allocations: 4.262 MB / 0.5523 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.4741, allocations: 0.8319 MB / 0.5531 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006088/0.4748, allocations: 197.8 kB / 0.5533 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.475, allocations: 143.3 kB / 0.5534 GB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.475, allocations: 0 / 0.5534 GB, free: 11.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.4979, allocations: 10.03 MB / 0.5632 GB, free: 3.523 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/0.4983, allocations: 184.8 kB / 0.5634 GB, free: 3.289 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.702, allocations: 64 / 0.5634 GB, free: 3.289 MB / 378.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)