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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006263/0.006263, allocations: 99.19 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 189.6 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09095/0.09095, allocations: 22.33 MB / 312.9 MB, free: 8.852 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.001901, allocations: 63.89 kB / 437 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1246, allocations: 54.94 MB / 492 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.005552/0.1302, allocations: 4.013 MB / 496 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1328, allocations: 1.193 MB / 497.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.1335, allocations: 15.88 kB / 497.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.134, allocations: 154.7 kB / 497.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.1348, allocations: 377.8 kB / 497.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.1356, allocations: 287.5 kB / 498 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1373, allocations: 1.974 MB / 500 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.1388, allocations: 1.464 MB / 0.4897 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007855/0.1396, allocations: 0.7521 MB / 0.4904 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.1407, allocations: 0.8959 MB / 0.4913 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.141, allocations: 216 kB / 0.4915 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1413, allocations: 220 kB / 0.4917 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005021/0.1418, allocations: 0.6275 MB / 0.4923 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.1426, allocations: 0.8405 MB / 0.4932 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1445, allocations: 2.395 MB / 0.4955 GB, free: 5.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1445, allocations: 3.938 kB / 0.4955 GB, free: 5.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1445, allocations: 4 kB / 0.4955 GB, free: 5.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.1446, allocations: 0 / 0.4955 GB, free: 5.223 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004025/0.1486, allocations: 1.9 MB / 0.4974 GB, free: 3.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1487, allocations: 8.031 kB / 0.4974 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1489, allocations: 136.1 kB / 0.4975 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.1501, allocations: 0.8215 MB / 0.4983 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.1502, allocations: 82.41 kB / 0.4984 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1504, allocations: 116.3 kB / 0.4985 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.1527, allocations: 1.437 MB / 0.4999 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.1528, allocations: 0 / 0.4999 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.1529, allocations: 40 kB / 0.4999 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.1529, allocations: 24 kB / 0.5 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2889/0.4418, allocations: 1.265 MB / 0.5012 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008887/0.4507, allocations: 6.008 MB / 0.5071 GB, free: 19.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.4552, allocations: 1.77 MB / 0.5088 GB, free: 19.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4563, allocations: 0.6885 MB / 0.5095 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/0.4564, allocations: 13.52 kB / 0.5095 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4564, allocations: 47.8 kB / 0.5095 GB, free: 19.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.575e-06/0.4564, allocations: 0 / 0.5095 GB, free: 19.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.007243/0.4637, allocations: 3.512 MB / 0.5129 GB, free: 18.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4638, allocations: 61.97 kB / 0.513 GB, free: 18.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.4648, allocations: 0.6428 MB / 0.5136 GB, free: 18.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4649, allocations: 39.55 kB / 0.5137 GB, free: 18.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.4652, allocations: 465.3 kB / 0.5141 GB, free: 17.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/0.4656, allocations: 412 kB / 0.5145 GB, free: 17.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.466, allocations: 216.1 kB / 0.5147 GB, free: 17.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4662, allocations: 410.2 kB / 0.5151 GB, free: 17.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.4675, allocations: 0.7394 MB / 0.5158 GB, free: 17.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.4689, allocations: 0.9308 MB / 0.5167 GB, free: 16.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.4717, allocations: 1.736 MB / 0.5184 GB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.4717, allocations: 1.406 kB / 0.5184 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004621/0.4764, allocations: 2.311 MB / 0.5207 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4764, allocations: 6.969 kB / 0.5207 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4764, allocations: 2.25 kB / 0.5207 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.4784, allocations: 0.4956 MB / 0.5212 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.48, allocations: 364.7 kB / 0.5215 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.4928, allocations: 17.59 MB / 0.5387 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4943, allocations: 139.1 kB / 0.5388 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/0.4947, allocations: 43.78 kB / 0.5389 GB, free: 13.53 MB / 398.1 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001105/0.4958, allocations: 384.7 kB / 0.5393 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.4962, allocations: 85.42 kB / 0.5393 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/0.5002, allocations: 1.891 MB / 0.5412 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5002, allocations: 10.56 kB / 0.5412 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.5003, allocations: 6.156 kB / 0.5412 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.5003, allocations: 5.078 kB / 0.5412 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.5024, allocations: 1.489 MB / 0.5427 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.5024, allocations: 0 / 0.5427 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.5041, allocations: 312.6 kB / 0.543 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.5055, allocations: 435.5 kB / 0.5434 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.5056, allocations: 59.53 kB / 0.5434 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.5185, allocations: 16.7 MB / 0.5597 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5185, allocations: 0 / 0.5597 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/0.5238, allocations: 2.539 MB / 0.5622 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.5242, allocations: 184.4 kB / 0.5624 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.5245, allocations: 71.95 kB / 0.5625 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.5253, allocations: 47.94 kB / 0.5625 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.5256, allocations: 80.88 kB / 0.5626 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5257, allocations: 27.98 kB / 0.5626 GB, free: 7.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006345/0.5263, allocations: 459 kB / 0.563 GB, free: 6.762 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5263, allocations: 0 / 0.563 GB, free: 6.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001651/0.528, allocations: 467.4 kB / 0.5635 GB, free: 6.305 MB / 414.1 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 (84): * Single equations (assignments): 73 * 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.0003039/0.5283, allocations: 179 kB / 0.5637 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004653/0.533, allocations: 2.94 MB / 0.5665 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.533, allocations: 0.6562 kB / 0.5665 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002518/0.5355, allocations: 2.027 MB / 0.5685 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5368, allocations: 290.1 kB / 0.5688 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.5456, allocations: 5.211 MB / 0.5739 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.5467, allocations: 1.209 MB / 0.5751 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.548, allocations: 359 kB / 0.5754 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.5485, allocations: 75.36 kB / 0.5755 GB, free: 9.699 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5485, allocations: 0 / 0.5755 GB, free: 9.699 MB / 430.1 MB Notification: Performance of Templates: time 0.03453/0.583, allocations: 21.94 MB / 0.5969 GB, free: 4.016 MB / 446.1 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)