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 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_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.09422/0.09422, allocations: 21.61 MB / 37.41 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.001142/0.001142, allocations: 180.5 kB / 43.63 MB, free: 3.574 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.424/1.424, allocations: 205.1 MB / 254.8 MB, free: 14.3 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.0008872/0.0008873, allocations: 109.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 50.89 kB / 372.3 MB, free: 59.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.0878, allocations: 51.97 MB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004916/0.09276, allocations: 4.113 MB / 428.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.09546, allocations: 1.255 MB / 429.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.09612, allocations: 15.88 kB / 429.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.09659, allocations: 111.2 kB / 429.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.09729, allocations: 374.2 kB / 430.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.09795, allocations: 231.7 kB / 430.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.09965, allocations: 2.379 MB / 432.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1009, allocations: 1.22 MB / 434 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009947/0.1019, allocations: 0.5999 MB / 434.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.103, allocations: 0.8803 MB / 435.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.1032, allocations: 104 kB / 435.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.1035, allocations: 128 kB / 435.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.1039, allocations: 0.5181 MB / 436.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.1044, allocations: 0.7117 MB / 436.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1056, allocations: 2.275 MB / 439.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1057, allocations: 0 / 439.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1057, allocations: 0 / 439.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.1057, allocations: 0 / 439.2 MB, free: 15.52 MB / 314.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.003721/0.1094, allocations: 1.843 MB / 441 MB, free: 13.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1095, allocations: 8.031 kB / 441 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.1097, allocations: 135.4 kB / 441.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.111, allocations: 0.79 MB / 442 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.111, allocations: 74.41 kB / 442 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.1113, allocations: 120.3 kB / 442.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.1134, allocations: 1.413 MB / 443.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1135, allocations: 4 kB / 443.6 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.1136, allocations: 40 kB / 443.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.1136, allocations: 24 kB / 443.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.1155, allocations: 1.261 MB / 444.9 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008024/0.1236, allocations: 5.969 MB / 450.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.1277, allocations: 1.78 MB / 452.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009444/0.1286, allocations: 0.6871 MB / 453.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.1288, allocations: 90.11 kB / 453.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1289, allocations: 51.42 kB / 453.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.865e-06/0.1289, allocations: 0 / 453.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.007579/0.1365, allocations: 3.6 MB / 457.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1365, allocations: 64.41 kB / 457.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.1375, allocations: 0.6006 MB / 457.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.1376, allocations: 41.7 kB / 457.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.1379, allocations: 443.5 kB / 458.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/0.1383, allocations: 390.6 kB / 458.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.1387, allocations: 218.9 kB / 458.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1388, allocations: 402.7 kB / 459.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.1399, allocations: 0.7366 MB / 459.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.1412, allocations: 0.9241 MB / 460.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.1434, allocations: 1.719 MB / 462.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1434, allocations: 0 / 462.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005292/0.1487, allocations: 2.426 MB / 465 MB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.1488, allocations: 8 kB / 465 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1488, allocations: 8.031 kB / 465 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/0.1529, allocations: 0.6609 MB / 465.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.1544, allocations: 363.5 kB / 466 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.1648, allocations: 15.29 MB / 481.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.1661, allocations: 146.7 kB / 481.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.1662, allocations: 40 kB / 481.5 MB, free: 2.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006483/0.1668, allocations: 385.5 kB / 481.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.167, allocations: 83.06 kB / 482 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.1717, allocations: 1.998 MB / 484 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.1717, allocations: 15.94 kB / 484 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1717, allocations: 0 / 484 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1717, allocations: 7.984 kB / 484 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.1735, allocations: 1.461 MB / 485.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1735, allocations: 7.922 kB / 485.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.1752, allocations: 311.7 kB / 485.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/0.1791, allocations: 0.6024 MB / 486.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/0.1793, allocations: 63.97 kB / 486.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009842/0.1892, allocations: 14.45 MB / 0.4891 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1892, allocations: 0 / 0.4891 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2066/0.3959, allocations: 32.78 MB / 0.5211 GB, free: 64.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3961, allocations: 188.6 kB / 0.5213 GB, free: 63.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.3962, allocations: 58.7 kB / 0.5214 GB, free: 63.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.3969, allocations: 64.38 kB / 0.5214 GB, free: 63.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.3971, allocations: 79.92 kB / 0.5215 GB, free: 63.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.3972, allocations: 27.83 kB / 0.5215 GB, free: 63.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004336/0.3977, allocations: 427.9 kB / 0.522 GB, free: 63.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3977, allocations: 1.062 kB / 0.522 GB, free: 63.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001616/0.3993, allocations: 0.6517 MB / 0.5226 GB, free: 63.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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 (83): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002247/0.3995, allocations: 176.2 kB / 0.5228 GB, free: 63.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.4027, allocations: 2.777 MB / 0.5255 GB, free: 62.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4027, allocations: 0 / 0.5255 GB, free: 62.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4045, allocations: 1.883 MB / 0.5273 GB, free: 61.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4055, allocations: 282.8 kB / 0.5276 GB, free: 61.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.4158, allocations: 7.802 MB / 0.5352 GB, free: 56.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.4165, allocations: 1.234 MB / 0.5364 GB, free: 55.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.4176, allocations: 397.2 kB / 0.5368 GB, free: 55.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.4181, allocations: 84 kB / 0.5369 GB, free: 55.37 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4181, allocations: 0.6562 kB / 0.5369 GB, free: 55.37 MB / 378.7 MB Notification: Performance of Templates: time 0.0321/0.4502, allocations: 30.3 MB / 0.5665 GB, free: 30.03 MB / 378.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)