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: translateModel(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") translateModel(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") [/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.097/0.097, allocations: 21.61 MB / 36.56 MB, free: 1.055 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.0009615/0.0009617, allocations: 183.4 kB / 42.82 MB, free: 3.785 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.273/1.273, 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.0009476/0.0009476, allocations: 102.6 kB / 328.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 397 MB, free: 46.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 55.83 MB / 452.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.4047, allocations: 82.2 MB / 0.5225 GB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001659/0.405, allocations: 68.72 kB / 0.5226 GB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.4224, allocations: 6.516 MB / 0.529 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4224, allocations: 0 / 0.529 GB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.4225, allocations: 7.75 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.001315/0.4238, allocations: 0.6604 MB / 0.5296 GB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4239, allocations: 16.36 kB / 0.5296 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.424, allocations: 44.84 kB / 0.5297 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.4244, allocations: 334 kB / 0.53 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4245, allocations: 22.25 kB / 0.53 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.4245, allocations: 34 kB / 0.53 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.4252, allocations: 459.8 kB / 0.5305 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4252, allocations: 0 / 0.5305 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.4253, allocations: 9.5 kB / 0.5305 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4253, allocations: 15.64 kB / 0.5305 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.4259, allocations: 399 kB / 0.5309 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.4284, allocations: 1.364 MB / 0.5322 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.4289, allocations: 325.4 kB / 0.5325 GB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.4289, allocations: 10.38 kB / 0.5325 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4289, allocations: 37.47 kB / 0.5326 GB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003127/0.4293, allocations: 57.19 kB / 0.5326 GB, free: 9.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.4293, allocations: 0 / 0.5326 GB, free: 9.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009928/0.4303, allocations: 0.5226 MB / 0.5331 GB, free: 9.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4303, allocations: 51.41 kB / 0.5332 GB, free: 9.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.4306, allocations: 286.5 kB / 0.5335 GB, free: 8.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.4306, allocations: 29.2 kB / 0.5335 GB, free: 8.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4308, allocations: 200.4 kB / 0.5337 GB, free: 8.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.4309, allocations: 110.4 kB / 0.5338 GB, free: 8.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.4309, allocations: 8.875 kB / 0.5338 GB, free: 8.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.431, allocations: 343.6 kB / 0.5341 GB, free: 8.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.4313, allocations: 163.4 kB / 0.5343 GB, free: 8.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.4317, allocations: 219.9 kB / 0.5345 GB, free: 8.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.432, allocations: 189.4 kB / 0.5347 GB, free: 8.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.432, allocations: 0 / 0.5347 GB, free: 8.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001287/0.4333, allocations: 0.532 MB / 0.5352 GB, free: 8.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.4335, allocations: 0.5335 MB / 0.5357 GB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4335, allocations: 3.875 kB / 0.5357 GB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007935/0.4343, allocations: 100.7 kB / 0.5358 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.4349, allocations: 104 kB / 0.5359 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003273/0.4352, allocations: 0.5955 MB / 0.5365 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.4356, allocations: 14.7 kB / 0.5365 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.4356, allocations: 19.61 kB / 0.5365 GB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.4356, allocations: 3.844 kB / 0.5365 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009508/0.4366, allocations: 467.8 kB / 0.537 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.4366, allocations: 3.844 kB / 0.537 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.4371, allocations: 90.92 kB / 0.5371 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.4376, allocations: 104.5 kB / 0.5372 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002517/0.4378, allocations: 0.5769 MB / 0.5377 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.4381, allocations: 19.67 kB / 0.5377 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.4381, allocations: 23.27 kB / 0.5378 GB, free: 6.16 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.0001804/0.4383, allocations: 234.4 kB / 0.538 GB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.4384, allocations: 34.89 kB / 0.538 GB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.4391, allocations: 468.8 kB / 0.5385 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4391, allocations: 3.812 kB / 0.5385 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4392, allocations: 0 / 0.5385 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4392, allocations: 3.984 kB / 0.5385 GB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4405, allocations: 1.025 MB / 0.5395 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4405, allocations: 0 / 0.5395 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.4414, allocations: 154.4 kB / 0.5396 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4414, allocations: 4.062 kB / 0.5396 GB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4415, allocations: 7.781 kB / 0.5396 GB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000154/0.4416, allocations: 0.5891 MB / 0.5402 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4416, allocations: 9.266 kB / 0.5402 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.4425, allocations: 0.7221 MB / 0.5409 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4425, allocations: 112.4 kB / 0.541 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.4426, allocations: 11.77 kB / 0.541 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4429, allocations: 11.38 kB / 0.5411 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.443, allocations: 27.42 kB / 0.5411 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.443, allocations: 19.55 kB / 0.5411 GB, free: 4.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.4432, allocations: 224.8 kB / 0.5413 GB, free: 4.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4432, allocations: 3.938 kB / 0.5413 GB, free: 4.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005409/0.4437, allocations: 194 kB / 0.5415 GB, free: 4.137 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.0001557/0.4439, allocations: 123.6 kB / 0.5416 GB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4451, allocations: 0.6661 MB / 0.5423 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4451, allocations: 3.812 kB / 0.5423 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.4456, allocations: 224.6 kB / 0.5425 GB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.446, allocations: 83.34 kB / 0.5426 GB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4473, allocations: 1.32 MB / 0.5439 GB, free: 2.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.4476, allocations: 0.8151 MB / 0.5447 GB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.4479, allocations: 100.8 kB / 0.5447 GB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.448, allocations: 50.03 kB / 0.5448 GB, free: 2.141 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4481, allocations: 7.875 kB / 0.5448 GB, free: 2.133 MB / 362.7 MB Notification: Performance of Templates: time 0.008624/0.4567, allocations: 5.77 MB / 0.5504 GB, free: 15.36 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_001.makefile (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 & ./AES_AES.Devel_test_models.Test_liquid_circuit_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)