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.001144/0.001144, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001164/0.001164, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.172/1.172, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08488/0.08488, allocations: 22.33 MB / 313.1 MB, free: 9.121 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.3 kB / 380.9 MB, free: 41.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06964/0.07085, allocations: 54.96 MB / 435.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004209/0.07509, allocations: 4.158 MB / 440 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.07657, allocations: 1.189 MB / 441.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.07674, allocations: 11.94 kB / 441.2 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.07698, allocations: 111.2 kB / 441.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.07748, allocations: 366.1 kB / 441.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.07798, allocations: 259.7 kB / 442 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.07938, allocations: 1.978 MB / 443.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.08059, allocations: 1.456 MB / 445.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.08118, allocations: 0.7559 MB / 446.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/0.08207, allocations: 0.9622 MB / 447.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.08228, allocations: 216 kB / 447.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.08253, allocations: 220 kB / 447.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.08295, allocations: 0.6353 MB / 448.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.08358, allocations: 0.8367 MB / 449 MB, free: 280 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.08485, allocations: 1.965 MB / 451 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.08486, allocations: 4 kB / 451 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08486, allocations: 0 / 451 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.08488, allocations: 0 / 451 MB, free: 14.3 MB / 334.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.003468/0.08836, allocations: 1.874 MB / 452.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.08839, allocations: 8.031 kB / 452.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.08862, allocations: 135.4 kB / 453 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.08959, allocations: 0.8094 MB / 453.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.08965, allocations: 74.41 kB / 453.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.08984, allocations: 124.1 kB / 454 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.09198, allocations: 1.433 MB / 455.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.09201, allocations: 0 / 455.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.09213, allocations: 40 kB / 455.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.09215, allocations: 24 kB / 455.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.09401, allocations: 1.273 MB / 456.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007313/0.1013, allocations: 6.028 MB / 462.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.1053, allocations: 1.773 MB / 464.6 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.1062, allocations: 0.6949 MB / 465.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.1063, allocations: 12.91 kB / 465.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1063, allocations: 51.48 kB / 465.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.525e-06/0.1064, allocations: 4 kB / 465.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.006422/0.1128, allocations: 3.506 MB / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1128, allocations: 60.41 kB / 468.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.1135, allocations: 0.6331 MB / 469.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.991e-05/0.1136, allocations: 45.7 kB / 469.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.1139, allocations: 459.5 kB / 470 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.1142, allocations: 382.6 kB / 470.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.1146, allocations: 218.9 kB / 470.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1147, allocations: 410.7 kB / 471 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.1158, allocations: 0.7444 MB / 471.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.117, allocations: 0.928 MB / 472.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.1192, allocations: 1.731 MB / 474.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1193, allocations: 4.156 kB / 474.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003964/0.1232, allocations: 2.297 MB / 476.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1233, allocations: 11.94 kB / 476.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1233, allocations: 4 kB / 476.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.125, allocations: 0.5049 MB / 477.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.1265, allocations: 355.5 kB / 477.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.1388, allocations: 17.59 MB / 495.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.1398, allocations: 142.9 kB / 495.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.14, allocations: 47.98 kB / 495.3 MB, free: 15.29 MB / 382.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.0005988/0.1406, allocations: 389.4 kB / 495.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.1408, allocations: 83.06 kB / 495.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.1441, allocations: 1.881 MB / 497.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1441, allocations: 8 kB / 497.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1441, allocations: 4 kB / 497.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1441, allocations: 11.97 kB / 497.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.1457, allocations: 1.481 MB / 499.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1458, allocations: 0 / 499.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.1475, allocations: 319.6 kB / 499.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.1488, allocations: 429.1 kB / 499.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.1489, allocations: 59.95 kB / 500 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.1594, allocations: 16.71 MB / 0.5046 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1594, allocations: 160 / 0.5046 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/0.1635, allocations: 2.541 MB / 0.5071 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.1638, allocations: 183.9 kB / 0.5072 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.164, allocations: 63.97 kB / 0.5073 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.1647, allocations: 55.88 kB / 0.5074 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.165, allocations: 92.73 kB / 0.5074 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.165, allocations: 32 kB / 0.5075 GB, free: 5.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004934/0.1655, allocations: 455 kB / 0.5079 GB, free: 4.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 0.5079 GB, free: 4.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001169/0.1667, allocations: 471.1 kB / 0.5084 GB, free: 4.332 MB / 398.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.0002204/0.1669, allocations: 171.6 kB / 0.5085 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004488/0.1714, allocations: 3.473 MB / 0.5119 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1715, allocations: 256 / 0.5119 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1303/0.3018, allocations: 2.02 MB / 0.5139 GB, free: 78.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.303, allocations: 291 kB / 0.5142 GB, free: 78.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006857/0.3099, allocations: 5.729 MB / 0.5198 GB, free: 75.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.3105, allocations: 1.206 MB / 0.5209 GB, free: 75.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.3109, allocations: 74.7 kB / 0.521 GB, free: 75.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3109, allocations: 3.719 kB / 0.521 GB, free: 75.18 MB / 398.1 MB Notification: Performance of Templates: time 0.03846/0.3494, allocations: 58.73 MB / 0.5784 GB, free: 29.32 MB / 398.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)