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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 105.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1015/0.1015, allocations: 22.69 MB / 325.4 MB, free: 3.551 MB / 254.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.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_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: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 457.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 58.02 MB / 0.5036 GB, free: 7.137 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.4722/0.5962, allocations: 22.38 MB / 0.5255 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006308/0.5968, allocations: 228.7 kB / 0.5257 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.597, allocations: 15.16 kB / 0.5257 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.738e-05/0.5971, allocations: 31.97 kB / 0.5257 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.5972, allocations: 99.03 kB / 0.5258 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.5974, allocations: 42.62 kB / 0.5259 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.5976, allocations: 290.1 kB / 0.5261 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.5978, allocations: 108.4 kB / 0.5262 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.598, allocations: 133.6 kB / 0.5264 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.5981, allocations: 88.53 kB / 0.5264 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.5981, allocations: 14.25 kB / 0.5265 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.415e-05/0.5982, allocations: 16.94 kB / 0.5265 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.5982, allocations: 32.5 kB / 0.5265 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.5983, allocations: 118.4 kB / 0.5266 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.5985, allocations: 213 kB / 0.5268 GB, free: 6.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5985, allocations: 2.953 kB / 0.5268 GB, free: 6.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5985, allocations: 3.938 kB / 0.5268 GB, free: 6.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.5985, allocations: 1.281 kB / 0.5268 GB, free: 6.453 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.0005994/0.5991, allocations: 0.509 MB / 0.5273 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5991, allocations: 9.094 kB / 0.5273 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.5992, allocations: 25.94 kB / 0.5274 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.5994, allocations: 276.3 kB / 0.5276 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5995, allocations: 9.188 kB / 0.5276 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.5995, allocations: 16.27 kB / 0.5276 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.5997, allocations: 179.5 kB / 0.5278 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.5997, allocations: 4.969 kB / 0.5278 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.5998, allocations: 5.734 kB / 0.5278 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5998, allocations: 3.531 kB / 0.5278 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.6, allocations: 92.05 kB / 0.5279 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.6006, allocations: 0.8024 MB / 0.5287 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.6008, allocations: 75.72 kB / 0.5288 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.6009, allocations: 40.55 kB / 0.5288 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.6009, allocations: 5.312 kB / 0.5288 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.6009, allocations: 32.81 kB / 0.5289 GB, free: 4.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.6009, allocations: 0 / 0.5289 GB, free: 4.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002747/0.6012, allocations: 125.1 kB / 0.529 GB, free: 4.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.6012, allocations: 53.58 kB / 0.529 GB, free: 4.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.6014, allocations: 274.3 kB / 0.5293 GB, free: 4.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.6014, allocations: 29.98 kB / 0.5293 GB, free: 4.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.6015, allocations: 148.5 kB / 0.5295 GB, free: 4.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.6015, allocations: 32.09 kB / 0.5295 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.6016, allocations: 25.38 kB / 0.5295 GB, free: 4.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.6016, allocations: 334.5 kB / 0.5298 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.6017, allocations: 26.06 kB / 0.5299 GB, free: 4.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.6017, allocations: 49.42 kB / 0.5299 GB, free: 4.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.6023, allocations: 155.6 kB / 0.53 GB, free: 4.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6023, allocations: 0 / 0.53 GB, free: 4.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001982/0.6025, allocations: 142.6 kB / 0.5302 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6025, allocations: 10.41 kB / 0.5302 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6025, allocations: 0 / 0.5302 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6025, allocations: 2.125 kB / 0.5302 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.6027, allocations: 27.62 kB / 0.5302 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6027, allocations: 6.891 kB / 0.5302 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.6028, allocations: 18.52 kB / 0.5302 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.6028, allocations: 4.188 kB / 0.5302 GB, free: 4.117 MB / 382.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.0001176/0.6029, allocations: 131.9 kB / 0.5304 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.6029, allocations: 23.11 kB / 0.5304 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.603, allocations: 26.62 kB / 0.5304 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.603, allocations: 5.297 kB / 0.5304 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.603, allocations: 4.734 kB / 0.5304 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.603, allocations: 0 / 0.5304 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.6032, allocations: 246.3 kB / 0.5307 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6032, allocations: 0 / 0.5307 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.6033, allocations: 21.8 kB / 0.5307 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6033, allocations: 5 kB / 0.5307 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6034, allocations: 6.047 kB / 0.5307 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6034, allocations: 0 / 0.5307 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6034, allocations: 5.125 kB / 0.5307 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.6036, allocations: 232.5 kB / 0.5309 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.6036, allocations: 108.4 kB / 0.531 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.6037, allocations: 1.188 kB / 0.531 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.6038, allocations: 6.031 kB / 0.531 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.6038, allocations: 11.23 kB / 0.531 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.6038, allocations: 2.188 kB / 0.531 GB, free: 3.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.604, allocations: 193.4 kB / 0.5312 GB, free: 3.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.604, allocations: 0 / 0.5312 GB, free: 3.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.6042, allocations: 38.56 kB / 0.5313 GB, free: 3.426 MB / 382.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 7.675e-05/0.6043, allocations: 98.66 kB / 0.5314 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.6045, allocations: 72.2 kB / 0.5314 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6045, allocations: 3.938 kB / 0.5314 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.6046, allocations: 29.06 kB / 0.5315 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.6049, allocations: 48.31 kB / 0.5315 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.6056, allocations: 0.4975 MB / 0.532 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.6058, allocations: 0.7339 MB / 0.5327 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.6059, allocations: 30.52 kB / 0.5327 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.6059, allocations: 19.31 kB / 0.5328 GB, free: 2.281 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.6059, allocations: 0 / 0.5328 GB, free: 2.281 MB / 382.1 MB Notification: Performance of Templates: time 0.005779/0.6117, allocations: 2.319 MB / 0.535 GB, free: 2.094 MB / 382.1 MB " [Timeout remaining time 659] 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.125461122021079] Failed to read output from testmodel.py, exit status != 0: 0.6192587628029287 0.631899433 0.030309378 Calling exit ...