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.09482/0.09482, allocations: 21.6 MB / 37.4 MB, free: 0.7812 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.00127/0.00127, allocations: 188.5 kB / 43.64 MB, free: 3.57 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.385/1.385, allocations: 205.1 MB / 254.8 MB, free: 14.25 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.001034/0.001035, allocations: 108.1 kB / 307.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 60.48 kB / 372.3 MB, free: 59.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0823/0.0835, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003558/0.08709, allocations: 3.261 MB / 427.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.08861, allocations: 0.9784 MB / 428.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.08895, allocations: 7.938 kB / 428.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.08918, allocations: 63.55 kB / 428.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.08961, allocations: 218.8 kB / 428.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.09006, allocations: 143.8 kB / 429 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009747/0.09104, allocations: 1.275 MB / 430.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006675/0.09172, allocations: 0.6451 MB / 430.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.09222, allocations: 342.9 kB / 431.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.09291, allocations: 478.6 kB / 431.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.09308, allocations: 56 kB / 431.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.09334, allocations: 91.91 kB / 431.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.09356, allocations: 283.2 kB / 432.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.09392, allocations: 406.2 kB / 432.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.09464, allocations: 1.231 MB / 433.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.09465, allocations: 0 / 433.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09466, allocations: 0 / 433.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.155e-05/0.0947, allocations: 0 / 433.7 MB, free: 5.016 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.00238/0.09708, allocations: 1.146 MB / 434.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.09713, allocations: 12.03 kB / 434.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.09728, allocations: 72.09 kB / 435 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.09797, allocations: 0.507 MB / 435.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.09802, allocations: 41.69 kB / 435.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.09813, allocations: 76.2 kB / 435.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.09929, allocations: 0.768 MB / 436.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.09932, allocations: 4 kB / 436.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.09939, allocations: 24 kB / 436.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.09941, allocations: 12 kB / 436.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1004, allocations: 0.6728 MB / 437.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.1051, allocations: 3.526 MB / 440.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.1073, allocations: 0.8791 MB / 441.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.1078, allocations: 358 kB / 441.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.108, allocations: 86.5 kB / 441.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.108, allocations: 46.92 kB / 442 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.964e-06/0.108, allocations: 0 / 442 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.003958/0.112, allocations: 1.908 MB / 443.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.112, allocations: 59.84 kB / 443.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.1125, allocations: 453.8 kB / 444.4 MB, free: 9.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.1126, allocations: 29.7 kB / 444.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1128, allocations: 315.8 kB / 444.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.113, allocations: 205.1 kB / 444.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.1132, allocations: 134.6 kB / 445 MB, free: 9.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1133, allocations: 370.8 kB / 445.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.1139, allocations: 397.8 kB / 445.8 MB, free: 8.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.1146, allocations: 0.5504 MB / 446.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.1159, allocations: 0.9735 MB / 447.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.1159, allocations: 4 kB / 447.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002945/0.1189, allocations: 1.341 MB / 448.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1189, allocations: 8 kB / 448.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1189, allocations: 4 kB / 448.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.1211, allocations: 360.8 kB / 449 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.1219, allocations: 207.8 kB / 449.2 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.1277, allocations: 7.923 MB / 457.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.1285, allocations: 87.38 kB / 457.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.1285, allocations: 27.98 kB / 457.3 MB, free: 12 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.0004403/0.129, allocations: 265.5 kB / 457.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1291, allocations: 51.38 kB / 457.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.1316, allocations: 1.054 MB / 458.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1316, allocations: 4.047 kB / 458.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1316, allocations: 3.984 kB / 458.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1316, allocations: 3.984 kB / 458.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.1326, allocations: 0.8369 MB / 459.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1326, allocations: 0 / 459.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/0.1335, allocations: 167.8 kB / 459.6 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.1354, allocations: 312.9 kB / 459.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.1355, allocations: 27.98 kB / 460 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.1405, allocations: 7.491 MB / 467.5 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1405, allocations: 0 / 467.5 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02533/0.1659, allocations: 17.36 MB / 484.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.166, allocations: 132.4 kB / 484.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.1662, allocations: 35.98 kB / 485 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.1666, allocations: 35.81 kB / 485 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.1668, allocations: 48.45 kB / 485.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.1668, allocations: 12 kB / 485.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003231/0.1672, allocations: 311.1 kB / 485.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1672, allocations: 0 / 485.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001087/0.1683, allocations: 359.6 kB / 485.7 MB, free: 13.69 MB / 362.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 (45): * Single equations (assignments): 39 * 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.0002056/0.1685, allocations: 137.4 kB / 485.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.1704, allocations: 1.441 MB / 487.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1704, allocations: 3.938 kB / 487.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.1715, allocations: 0.9502 MB / 488.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.1721, allocations: 161.3 kB / 488.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.1779, allocations: 4.109 MB / 492.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.1786, allocations: 0.977 MB / 493.5 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007374/0.1794, allocations: 212.6 kB / 493.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.1796, allocations: 51.42 kB / 493.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1796, allocations: 4 kB / 493.8 MB, free: 5.367 MB / 362.7 MB Notification: Performance of Templates: time 0.02474/0.2044, allocations: 16.33 MB / 0.4981 GB, free: 5.031 MB / 378.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)