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: translateModel(AES.Devel_test_models.Test_liquid_circuit_006,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_006") translateModel(AES.Devel_test_models.Test_liquid_circuit_006,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_006") [/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.09724/0.09724, allocations: 21.61 MB / 36.56 MB, free: 1.121 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.001067/0.001067, allocations: 185.5 kB / 42.83 MB, free: 3.777 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.238/1.238, allocations: 223.2 MB / 272.1 MB, free: 1.445 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.0009024/0.0009024, allocations: 106.6 kB / 328.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 15.98 kB / 397 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.0835, allocations: 55.81 MB / 452.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.3774, allocations: 81 MB / 0.5213 GB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.3776, allocations: 66.55 kB / 0.5214 GB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.3959, allocations: 7.404 MB / 0.5286 GB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3959, allocations: 0 / 0.5286 GB, free: 11.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.3959, allocations: 7.688 kB / 0.5286 GB, free: 11.25 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.001299/0.3972, allocations: 0.7034 MB / 0.5293 GB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3973, allocations: 15.45 kB / 0.5293 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.3973, allocations: 46.62 kB / 0.5294 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.3978, allocations: 346.6 kB / 0.5297 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3978, allocations: 25.03 kB / 0.5297 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.3979, allocations: 46.12 kB / 0.5298 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.3986, allocations: 489.6 kB / 0.5303 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3986, allocations: 7.859 kB / 0.5303 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.3987, allocations: 15.27 kB / 0.5303 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3987, allocations: 11.66 kB / 0.5303 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.3995, allocations: 0.5539 MB / 0.5308 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.4016, allocations: 1.335 MB / 0.5321 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.4022, allocations: 403.7 kB / 0.5325 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.4023, allocations: 7.922 kB / 0.5325 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4023, allocations: 50.05 kB / 0.5326 GB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003001/0.4026, allocations: 75.44 kB / 0.5326 GB, free: 9.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.4026, allocations: 0 / 0.5326 GB, free: 9.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001075/0.4037, allocations: 0.682 MB / 0.5333 GB, free: 9.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.4037, allocations: 55.34 kB / 0.5334 GB, free: 9.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.404, allocations: 310 kB / 0.5337 GB, free: 8.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.404, allocations: 31.77 kB / 0.5337 GB, free: 8.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.4041, allocations: 209 kB / 0.5339 GB, free: 8.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.4042, allocations: 149.6 kB / 0.534 GB, free: 8.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.4042, allocations: 13.22 kB / 0.534 GB, free: 8.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.4043, allocations: 357.5 kB / 0.5344 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.4046, allocations: 243 kB / 0.5346 GB, free: 8.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.405, allocations: 351.5 kB / 0.535 GB, free: 8.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.4054, allocations: 291.4 kB / 0.5352 GB, free: 8.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.4054, allocations: 7.812 kB / 0.5352 GB, free: 8.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009633/0.4064, allocations: 0.7038 MB / 0.5359 GB, free: 7.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.4066, allocations: 1.13 MB / 0.537 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4066, allocations: 3.844 kB / 0.537 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4066, allocations: 7.875 kB / 0.537 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.4088, allocations: 386.6 kB / 0.5374 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006465/0.4094, allocations: 1.226 MB / 0.5386 GB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.4098, allocations: 33.38 kB / 0.5386 GB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.4099, allocations: 26.03 kB / 0.5387 GB, free: 5.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.4099, allocations: 3.719 kB / 0.5387 GB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008735/0.4108, allocations: 0.6345 MB / 0.5393 GB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.4108, allocations: 3.719 kB / 0.5393 GB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.4108, allocations: 11.48 kB / 0.5393 GB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4123, allocations: 332.2 kB / 0.5396 GB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.4136, allocations: 2.641 MB / 0.5422 GB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.414, allocations: 26.81 kB / 0.5422 GB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.414, allocations: 32.45 kB / 0.5423 GB, free: 2.566 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.0001795/0.4142, allocations: 252.2 kB / 0.5425 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.4143, allocations: 38.7 kB / 0.5425 GB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009004/0.4152, allocations: 0.6037 MB / 0.5431 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4152, allocations: 3.844 kB / 0.5431 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.4152, allocations: 0 / 0.5431 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4152, allocations: 3.984 kB / 0.5431 GB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.4157, allocations: 0.5196 MB / 0.5436 GB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4157, allocations: 0 / 0.5436 GB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.4171, allocations: 278.5 kB / 0.5439 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4171, allocations: 3.719 kB / 0.5439 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.4171, allocations: 14.98 kB / 0.5439 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4171, allocations: 4.562 kB / 0.5439 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4171, allocations: 0 / 0.5439 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.4181, allocations: 0.8098 MB / 0.5447 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.4182, allocations: 119.3 kB / 0.5448 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.4182, allocations: 15 kB / 0.5448 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.4186, allocations: 23.34 kB / 0.5449 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.4186, allocations: 35 kB / 0.5449 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.4187, allocations: 15.44 kB / 0.5449 GB, free: 1.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.4189, allocations: 242.5 kB / 0.5451 GB, free: 1.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4189, allocations: 0 / 0.5451 GB, free: 1.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005633/0.4194, allocations: 224.2 kB / 0.5454 GB, free: 1.277 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.0001198/0.4196, allocations: 124.4 kB / 0.5455 GB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.422, allocations: 0.9914 MB / 0.5464 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.422, allocations: 3.125 kB / 0.5464 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.4223, allocations: 246.7 kB / 0.5467 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.4227, allocations: 93.97 kB / 0.5468 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.4256, allocations: 2.03 MB / 0.5488 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4259, allocations: 0.8267 MB / 0.5496 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005689/0.4265, allocations: 196.9 kB / 0.5498 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.4267, allocations: 49.67 kB / 0.5498 GB, free: 14.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4267, allocations: 0 / 0.5498 GB, free: 14.71 MB / 378.7 MB Notification: Performance of Templates: time 0.008989/0.4357, allocations: 6.156 MB / 0.5558 GB, free: 10.81 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_006.makefile (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 & ./AES_AES.Devel_test_models.Test_liquid_circuit_006 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)