Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002495/0.002495, allocations: 205.9 kB / 23.01 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1102/0.1102, allocations: 24.04 MB / 337.2 MB, free: 11.36 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 59.91 kB / 474.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3741, allocations: 59.58 MB / 0.5214 GB, free: 10.49 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.07877/0.4529, allocations: 22.96 MB / 0.5438 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.4538, allocations: 211.6 kB / 0.544 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.454, allocations: 15.88 kB / 0.544 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.4541, allocations: 28.52 kB / 0.5441 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.4543, allocations: 106.1 kB / 0.5442 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.4544, allocations: 36.98 kB / 0.5442 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.4547, allocations: 296 kB / 0.5445 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.4549, allocations: 100.4 kB / 0.5446 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.4551, allocations: 128.2 kB / 0.5447 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.4552, allocations: 88.91 kB / 0.5448 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.4553, allocations: 12 kB / 0.5448 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.4553, allocations: 12 kB / 0.5448 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.4554, allocations: 37.55 kB / 0.5448 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.4554, allocations: 89.02 kB / 0.5449 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.4557, allocations: 228.3 kB / 0.5451 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4557, allocations: 0 / 0.5451 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4557, allocations: 0 / 0.5451 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4557, allocations: 0 / 0.5451 GB, free: 1.176 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006657/0.4563, allocations: 445.8 kB / 0.5456 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4564, allocations: 8.922 kB / 0.5456 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.4564, allocations: 29.55 kB / 0.5456 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.4567, allocations: 212.1 kB / 0.5458 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4567, allocations: 12.38 kB / 0.5458 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.4568, allocations: 12.38 kB / 0.5458 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.457, allocations: 163.2 kB / 0.546 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.457, allocations: 0 / 0.546 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.457, allocations: 8 kB / 0.546 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4571, allocations: 8 kB / 0.546 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.4572, allocations: 91.98 kB / 0.5461 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/0.4581, allocations: 0.695 MB / 0.5468 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.4583, allocations: 72.48 kB / 0.5468 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.4584, allocations: 40.17 kB / 0.5469 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4584, allocations: 0.6562 kB / 0.5469 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4584, allocations: 34.56 kB / 0.5469 GB, free: 15.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.4584, allocations: 3.938 kB / 0.5469 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003245/0.4588, allocations: 133.4 kB / 0.547 GB, free: 15.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4588, allocations: 51.41 kB / 0.5471 GB, free: 15.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.4591, allocations: 219.4 kB / 0.5473 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4591, allocations: 25.7 kB / 0.5473 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.4592, allocations: 157.6 kB / 0.5475 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.4593, allocations: 34.56 kB / 0.5475 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.4593, allocations: 35.2 kB / 0.5475 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4595, allocations: 332.9 kB / 0.5479 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.4595, allocations: 27.14 kB / 0.5479 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.4596, allocations: 51.64 kB / 0.5479 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.4602, allocations: 154.2 kB / 0.5481 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4602, allocations: 0 / 0.5481 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002548/0.4604, allocations: 132.5 kB / 0.5482 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4604, allocations: 12.06 kB / 0.5482 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4604, allocations: 0 / 0.5482 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4605, allocations: 0 / 0.5482 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.4607, allocations: 31.36 kB / 0.5482 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.4607, allocations: 0 / 0.5482 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.4608, allocations: 20.67 kB / 0.5483 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4608, allocations: 0 / 0.5483 GB, free: 13.96 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.461, allocations: 137.2 kB / 0.5484 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.461, allocations: 19.86 kB / 0.5484 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.4611, allocations: 24.81 kB / 0.5484 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4611, allocations: 4 kB / 0.5484 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4611, allocations: 3.938 kB / 0.5485 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4611, allocations: 5.203 kB / 0.5485 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.4614, allocations: 172.9 kB / 0.5486 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4614, allocations: 0 / 0.5486 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4616, allocations: 19.14 kB / 0.5486 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4616, allocations: 0 / 0.5486 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4616, allocations: 8.562 kB / 0.5486 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4616, allocations: 0 / 0.5486 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4616, allocations: 0 / 0.5486 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.4619, allocations: 236.2 kB / 0.5489 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.4619, allocations: 17.42 kB / 0.5489 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.462, allocations: 11.94 kB / 0.5489 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.4621, allocations: 0.6094 kB / 0.5489 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.4621, allocations: 2.812 kB / 0.5489 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4621, allocations: 4 kB / 0.5489 GB, free: 13.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.4623, allocations: 159 kB / 0.5491 GB, free: 13.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4623, allocations: 0 / 0.5491 GB, free: 13.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.4625, allocations: 47.95 kB / 0.5491 GB, free: 13.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001227/0.4627, allocations: 104.9 kB / 0.5492 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.4629, allocations: 70.48 kB / 0.5493 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4629, allocations: 3.938 kB / 0.5493 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.463, allocations: 36.05 kB / 0.5493 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.4634, allocations: 46.75 kB / 0.5494 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4645, allocations: 0.5026 MB / 0.5498 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.4646, allocations: 120.7 kB / 0.55 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.4648, allocations: 27.48 kB / 0.55 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.4648, allocations: 19.44 kB / 0.55 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4648, allocations: 0 / 0.55 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Templates: time 0.007933/0.4728, allocations: 2.516 MB / 0.5525 GB, free: 10.67 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.198925495147705] Failed to read output from testmodel.py, exit status != 0: 0.4825794640928507 0.49801218300000005 0.039006782000000004 Calling exit ...