Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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_005,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_005") translateModel(AES.Devel_test_models.Test_liquid_circuit_005,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_005") [/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.09801/0.09801, allocations: 21.61 MB / 36.56 MB, free: 1.09 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.001028/0.001028, allocations: 182.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.26/1.26, allocations: 223.2 MB / 272.2 MB, free: 1.34 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.000867/0.0008671, allocations: 106.6 kB / 328.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003941, allocations: 8 kB / 397 MB, free: 46.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.08162, allocations: 55.81 MB / 452.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/0.3499, allocations: 83.02 MB / 0.5233 GB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.3501, allocations: 67.08 kB / 0.5234 GB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04246/0.3926, allocations: 19.48 MB / 0.5424 GB, free: 6.266 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3926, allocations: 0 / 0.5424 GB, free: 6.266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.261e-05/0.3927, allocations: 30.94 kB / 0.5424 GB, free: 6.258 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002753/0.3954, allocations: 1.559 MB / 0.5439 GB, free: 5.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3955, allocations: 7.719 kB / 0.544 GB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.3957, allocations: 127.8 kB / 0.5441 GB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.3971, allocations: 0.8867 MB / 0.5449 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.3971, allocations: 77.19 kB / 0.545 GB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.3973, allocations: 124.8 kB / 0.5451 GB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.3993, allocations: 1.602 MB / 0.5467 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3994, allocations: 0 / 0.5467 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3995, allocations: 43.41 kB / 0.5467 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3995, allocations: 23.16 kB / 0.5468 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.4012, allocations: 1.267 MB / 0.548 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007358/0.4085, allocations: 6.241 MB / 0.5541 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.4127, allocations: 1.803 MB / 0.5559 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/0.4128, allocations: 15.38 kB / 0.5559 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4128, allocations: 42.19 kB / 0.5559 GB, free: 13.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.635e-06/0.4128, allocations: 0 / 0.5559 GB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.008865/0.4217, allocations: 5.239 MB / 0.561 GB, free: 9.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4218, allocations: 71.86 kB / 0.5611 GB, free: 9.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.4224, allocations: 0.4932 MB / 0.5616 GB, free: 9.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.248e-05/0.4225, allocations: 40.89 kB / 0.5616 GB, free: 9.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.4228, allocations: 426.4 kB / 0.562 GB, free: 8.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.4231, allocations: 387.5 kB / 0.5624 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.4232, allocations: 25.75 kB / 0.5624 GB, free: 8.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4233, allocations: 395 kB / 0.5628 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4245, allocations: 0.7406 MB / 0.5635 GB, free: 7.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.4257, allocations: 0.8574 MB / 0.5644 GB, free: 6.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.4359, allocations: 2.943 MB / 0.5672 GB, free: 3.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4359, allocations: 3.938 kB / 0.5672 GB, free: 3.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004335/0.4402, allocations: 2.289 MB / 0.5695 GB, free: 1.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.4405, allocations: 0.7903 MB / 0.5702 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4405, allocations: 4 kB / 0.5702 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.4425, allocations: 0.54 MB / 0.5708 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.4441, allocations: 343.5 kB / 0.5711 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.4553, allocations: 15.45 MB / 0.5862 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4564, allocations: 83.97 kB / 0.5863 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4565, allocations: 43.98 kB / 0.5863 GB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.4565, allocations: 0 / 0.5863 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004022/0.4606, allocations: 2.148 MB / 0.5884 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4606, allocations: 0 / 0.5884 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.4623, allocations: 0.5123 MB / 0.5889 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.4638, allocations: 347.5 kB / 0.5892 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.4766, allocations: 16.67 MB / 0.6055 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.4778, allocations: 80.05 kB / 0.6056 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/0.4779, allocations: 43.98 kB / 0.6056 GB, free: 9.527 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (134): * Single equations (assignments): 123 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008054/0.4787, allocations: 454.5 kB / 0.6061 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.4789, allocations: 83.02 kB / 0.6061 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.4824, allocations: 1.892 MB / 0.608 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4825, allocations: 12 kB / 0.608 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4825, allocations: 4 kB / 0.608 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4825, allocations: 11.91 kB / 0.608 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.4887, allocations: 3.677 MB / 0.6116 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4887, allocations: 0 / 0.6116 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.4906, allocations: 327.6 kB / 0.6119 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.4923, allocations: 481 kB / 0.6124 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.4925, allocations: 67.95 kB / 0.6124 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.5034, allocations: 15.69 MB / 0.6278 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5034, allocations: 0 / 0.6278 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.508, allocations: 2.556 MB / 0.6303 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.5082, allocations: 164.1 kB / 0.6304 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5084, allocations: 59.97 kB / 0.6305 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/0.5092, allocations: 67.77 kB / 0.6305 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.5094, allocations: 88.81 kB / 0.6306 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/0.5095, allocations: 27.98 kB / 0.6307 GB, free: 14.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000496/0.51, allocations: 398.8 kB / 0.631 GB, free: 13.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.51, allocations: 0 / 0.631 GB, free: 13.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001825/0.5119, allocations: 0.6641 MB / 0.6317 GB, free: 13.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 41 (tubeH.fluidStream.w,tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (86): * Single equations (assignments): 75 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/0.5121, allocations: 175 kB / 0.6319 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006381/0.5185, allocations: 5.088 MB / 0.6368 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5185, allocations: 448 / 0.6368 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.5211, allocations: 2.034 MB / 0.6388 GB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/0.5222, allocations: 271.9 kB / 0.6391 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009577/0.5318, allocations: 6.387 MB / 0.6453 GB, free: 14.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.5327, allocations: 1.23 MB / 0.6465 GB, free: 13.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001652/0.5344, allocations: 0.5529 MB / 0.647 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.5347, allocations: 75.42 kB / 0.6471 GB, free: 12.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5347, allocations: 0 / 0.6471 GB, free: 12.87 MB / 474.7 MB Notification: Performance of Templates: time 0.03286/0.5676, allocations: 23.04 MB / 0.6696 GB, free: 6.059 MB / 490.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_005.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_005 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1)