Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") [/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.09657/0.09657, allocations: 21.6 MB / 37.4 MB, free: 0.7578 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 184.5 kB / 43.63 MB, free: 3.566 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 254.8 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009045, allocations: 104.4 kB / 307.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 56.06 kB / 372.3 MB, free: 59.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09326, allocations: 51.96 MB / 424.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004063/0.09738, allocations: 3.62 MB / 427.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.09908, allocations: 1.068 MB / 429 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.09944, allocations: 11.94 kB / 429 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.09969, allocations: 71.47 kB / 429.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000514/0.1002, allocations: 222.8 kB / 429.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.1007, allocations: 159.8 kB / 429.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1017, allocations: 1.365 MB / 430.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.1024, allocations: 0.6811 MB / 431.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.1029, allocations: 370.9 kB / 431.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.1033, allocations: 0.5101 MB / 432.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.1034, allocations: 64 kB / 432.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1036, allocations: 91.97 kB / 432.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1038, allocations: 299.1 kB / 432.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.1041, allocations: 442 kB / 433.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.1048, allocations: 1.309 MB / 434.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1048, allocations: 0 / 434.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1048, allocations: 0 / 434.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1048, allocations: 3.938 kB / 434.5 MB, free: 4.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001976/0.1068, allocations: 1.22 MB / 435.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.1068, allocations: 12.03 kB / 435.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.107, allocations: 80 kB / 435.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.1076, allocations: 0.5419 MB / 436.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.1077, allocations: 75.58 kB / 436.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1078, allocations: 72.28 kB / 436.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.1088, allocations: 0.8342 MB / 437.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1088, allocations: 0 / 437.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.1089, allocations: 24 kB / 437.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1089, allocations: 16 kB / 437.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000922/0.1098, allocations: 0.7235 MB / 438.1 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.1146, allocations: 3.735 MB / 441.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.1167, allocations: 0.9134 MB / 442.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.1173, allocations: 370.4 kB / 443.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.1174, allocations: 93.66 kB / 443.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1175, allocations: 39.12 kB / 443.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 1.824e-06/0.1175, allocations: 0 / 443.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.003091/0.1206, allocations: 1.716 MB / 445 MB, free: 9.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1206, allocations: 59.97 kB / 445.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.1211, allocations: 469.8 kB / 445.5 MB, free: 8.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.1212, allocations: 37.7 kB / 445.5 MB, free: 8.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.1214, allocations: 343.6 kB / 445.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.1216, allocations: 220.8 kB / 446.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.1218, allocations: 150.6 kB / 446.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.122, allocations: 374.7 kB / 446.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.1227, allocations: 451.6 kB / 447.1 MB, free: 7.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.1234, allocations: 0.588 MB / 447.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/0.1322, allocations: 2.557 MB / 450.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1323, allocations: 4 kB / 450.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002149/0.1344, allocations: 1.282 MB / 451.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1345, allocations: 8 kB / 451.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.1345, allocations: 8.094 kB / 451.5 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/0.1352, allocations: 212.1 kB / 451.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.1375, allocations: 363.5 kB / 452.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.1436, allocations: 7.949 MB / 460 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/0.1444, allocations: 91.19 kB / 460.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.1445, allocations: 35.98 kB / 460.1 MB, free: 9.094 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005824/0.1451, allocations: 277.5 kB / 460.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1452, allocations: 56.44 kB / 460.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.1471, allocations: 0.9751 MB / 461.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1471, allocations: 8 kB / 461.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1471, allocations: 0 / 461.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1471, allocations: 3.984 kB / 461.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1481, allocations: 0.8953 MB / 462.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1481, allocations: 0 / 462.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/0.1506, allocations: 323.5 kB / 462.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005107/0.1511, allocations: 168.2 kB / 462.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.1512, allocations: 35.98 kB / 462.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/0.1567, allocations: 7.505 MB / 470.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1567, allocations: 0 / 470.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/0.1777, allocations: 15.8 MB / 486.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1779, allocations: 144.5 kB / 486.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.178, allocations: 35.92 kB / 486.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.1784, allocations: 31.97 kB / 486.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.1786, allocations: 44.58 kB / 486.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.1787, allocations: 16 kB / 486.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003984/0.1791, allocations: 331.1 kB / 486.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1791, allocations: 0 / 486.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001199/0.1803, allocations: 375.4 kB / 487.1 MB, free: 12.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.1806, allocations: 133.4 kB / 487.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.1838, allocations: 1.6 MB / 488.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1838, allocations: 4 kB / 488.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.186, allocations: 1.083 MB / 489.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007102/0.1867, allocations: 169.8 kB / 490.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.1925, allocations: 4.199 MB / 494.3 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.1931, allocations: 1.001 MB / 495.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006924/0.1938, allocations: 228.8 kB / 495.5 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.194, allocations: 51.44 kB / 495.6 MB, free: 3.68 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.194, allocations: 3.938 kB / 495.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of Templates: time 0.02229/0.2163, allocations: 15.41 MB / 0.499 GB, free: 4.258 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_003.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)