Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") translateModel(AES.Devel_test_models.Test_liquid_circuit_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") [/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.1011/0.1011, allocations: 21.41 MB / 36.68 MB, free: 1.129 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.0009697/0.0009696, allocations: 184.5 kB / 42.86 MB, free: 3.879 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.622/1.622, allocations: 205 MB / 253.9 MB, free: 15.07 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.0007558/0.0007556, allocations: 84.62 kB / 307.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003262, allocations: 12.91 kB / 372.5 MB, free: 59.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09072, allocations: 52.52 MB / 425 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003979/0.09475, allocations: 3.249 MB / 428.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.09615, allocations: 0.9706 MB / 429.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.0963, allocations: 11.94 kB / 429.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.09649, allocations: 67.55 kB / 429.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.09678, allocations: 202.9 kB / 429.5 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.09714, allocations: 143.9 kB / 429.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.09797, allocations: 1.268 MB / 430.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/0.09866, allocations: 0.6451 MB / 431.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.09894, allocations: 339 kB / 431.9 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.09936, allocations: 482.5 kB / 432.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.09944, allocations: 56 kB / 432.4 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.0996, allocations: 87.95 kB / 432.5 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.09976, allocations: 275.2 kB / 432.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.1, allocations: 410.2 kB / 433.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.1007, allocations: 1.188 MB / 434.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1007, allocations: 0 / 434.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1007, allocations: 0 / 434.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1007, allocations: 0 / 434.3 MB, free: 5.043 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001762/0.1025, allocations: 1.15 MB / 435.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.1025, allocations: 8.031 kB / 435.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1026, allocations: 76.09 kB / 435.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.1031, allocations: 0.5108 MB / 436.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1032, allocations: 45.69 kB / 436.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.1033, allocations: 64.31 kB / 436.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1043, allocations: 0.7642 MB / 437 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1043, allocations: 0 / 437 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.1044, allocations: 24 kB / 437 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1044, allocations: 12 kB / 437 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/0.1052, allocations: 0.6727 MB / 437.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/0.1091, allocations: 3.514 MB / 441.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.1113, allocations: 0.8791 MB / 442.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.1118, allocations: 350 kB / 442.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.1119, allocations: 89.55 kB / 442.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.112, allocations: 46.98 kB / 442.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.893e-06/0.112, allocations: 0 / 442.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.003784/0.1158, allocations: 1.834 MB / 444.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1158, allocations: 59.84 kB / 444.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.1163, allocations: 445.8 kB / 444.9 MB, free: 9.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.1164, allocations: 33.7 kB / 444.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1166, allocations: 316 kB / 445.2 MB, free: 9.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.1168, allocations: 201.1 kB / 445.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.117, allocations: 134.6 kB / 445.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1171, allocations: 366.8 kB / 445.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.1177, allocations: 393.8 kB / 446.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.1184, allocations: 0.5504 MB / 446.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.1198, allocations: 0.9619 MB / 447.8 MB, free: 6.871 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1198, allocations: 4 kB / 447.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002729/0.1225, allocations: 1.314 MB / 449.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1225, allocations: 10.66 kB / 449.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1226, allocations: 4 kB / 449.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.1244, allocations: 328.9 kB / 449.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/0.1253, allocations: 216.5 kB / 449.7 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.1305, allocations: 7.53 MB / 457.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.131, allocations: 83.33 kB / 457.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.1311, allocations: 24 kB / 457.3 MB, free: 12.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003528/0.1314, allocations: 277.6 kB / 457.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1315, allocations: 59.28 kB / 457.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.1339, allocations: 1.03 MB / 458.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1339, allocations: 8 kB / 458.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.134, allocations: 3.938 kB / 458.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.134, allocations: 7.984 kB / 458.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009688/0.1349, allocations: 0.8291 MB / 459.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.135, allocations: 0 / 459.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.1359, allocations: 167.8 kB / 459.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.1376, allocations: 324.8 kB / 460 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.1377, allocations: 27.98 kB / 460 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.1429, allocations: 7.518 MB / 467.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1429, allocations: 0 / 467.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.1459, allocations: 1.411 MB / 468.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.1461, allocations: 144.3 kB / 469.1 MB, free: 0 / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.1462, allocations: 31.98 kB / 469.1 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.1466, allocations: 31.91 kB / 469.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.1468, allocations: 40.38 kB / 469.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.1468, allocations: 19.92 kB / 469.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000414/0.1473, allocations: 315.1 kB / 469.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1473, allocations: 0 / 469.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008377/0.1481, allocations: 239.6 kB / 469.7 MB, free: 15.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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]) * 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 (44): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.1484, allocations: 137.4 kB / 469.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.1504, allocations: 1.425 MB / 471.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1504, allocations: 0 / 471.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.1516, allocations: 0.9498 MB / 472.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.1523, allocations: 149.4 kB / 472.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.1572, allocations: 2.979 MB / 475.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.1578, allocations: 0.9609 MB / 476.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006001/0.1584, allocations: 204.6 kB / 476.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1586, allocations: 39.44 kB / 476.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1586, allocations: 0 / 476.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of Templates: time 0.01738/0.176, allocations: 10.68 MB / 487.3 MB, free: 13.62 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_002.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)