Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.00103/0.00103, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001079/0.001079, allocations: 169.3 kB / 23.02 MB, free: 1.555 MB / 18.57 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 0.9479/0.9479, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007894/0.007894, allocations: 1.999 MB / 261.9 MB, free: 11.05 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.571e-05, allocations: 2.312 kB / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.006087/0.006113, allocations: 9.206 MB / 341.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003901/0.01001, allocations: 8.607 MB / 350.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.01011, allocations: 4 kB / 350.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.01055, allocations: 143 kB / 350.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.01083, allocations: 107.2 kB / 350.4 MB, free: 14.78 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.0137, allocations: 1.494 MB / 351.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.01398, allocations: 306.4 kB / 352.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.01402, allocations: 5.812 kB / 352.2 MB, free: 12.97 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.6013/0.6154, allocations: 21.41 MB / 373.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.6155, allocations: 63.81 kB / 373.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.6156, allocations: 8 kB / 373.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.6168, allocations: 475.6 kB / 374.2 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.6169, allocations: 35.83 kB / 374.2 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.617, allocations: 59.86 kB / 374.3 MB, free: 9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.6179, allocations: 490.6 kB / 374.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6179, allocations: 0 / 374.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6179, allocations: 4 kB / 374.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.618, allocations: 4 kB / 374.8 MB, free: 8.512 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007005/0.6187, allocations: 0.5771 MB / 375.3 MB, free: 7.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6187, allocations: 16.02 kB / 375.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.619, allocations: 88.56 kB / 375.4 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.6192, allocations: 152.3 kB / 375.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.6192, allocations: 12.31 kB / 375.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.6192, allocations: 12.38 kB / 375.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.6196, allocations: 260.5 kB / 375.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.6196, allocations: 4 kB / 375.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.6196, allocations: 4 kB / 375.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.6196, allocations: 11.98 kB / 375.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.6198, allocations: 108.8 kB / 376 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.6204, allocations: 0.6872 MB / 376.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.6207, allocations: 139 kB / 376.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.6208, allocations: 63.66 kB / 376.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.6209, allocations: 103.9 kB / 377 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.6209, allocations: 41.33 kB / 377 MB, free: 6.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.255e-06/0.6209, allocations: 0 / 377 MB, free: 6.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001517/0.6224, allocations: 0.893 MB / 377.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.6225, allocations: 63.34 kB / 378 MB, free: 5.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.6226, allocations: 189.9 kB / 378.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.6226, allocations: 29.7 kB / 378.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.6227, allocations: 159.6 kB / 378.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.6227, allocations: 162.6 kB / 378.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.6228, allocations: 67.34 kB / 378.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6229, allocations: 0.504 MB / 379.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.623, allocations: 56.47 kB / 379.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.6231, allocations: 140.8 kB / 379.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.6233, allocations: 225.7 kB / 379.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6233, allocations: 0 / 379.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005028/0.6238, allocations: 369.8 kB / 379.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6238, allocations: 4 kB / 379.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6238, allocations: 8 kB / 379.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.6242, allocations: 135.7 kB / 380 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.6243, allocations: 27.98 kB / 380 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/0.6248, allocations: 0.8819 MB / 380.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.6248, allocations: 15.92 kB / 380.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.6249, allocations: 12 kB / 380.9 MB, free: 1.965 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.625, allocations: 176.5 kB / 381.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.625, allocations: 27.86 kB / 381.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.6251, allocations: 18.28 kB / 381.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6251, allocations: 11.98 kB / 381.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6251, allocations: 0 / 381.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6251, allocations: 3.938 kB / 381.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.6253, allocations: 201.3 kB / 381.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6253, allocations: 0 / 381.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.6254, allocations: 43.91 kB / 381.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.6256, allocations: 63.61 kB / 381.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6256, allocations: 7.984 kB / 381.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009172/0.6265, allocations: 1.889 MB / 383.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6265, allocations: 128 / 383.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.627, allocations: 0.5461 MB / 383.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.627, allocations: 19.8 kB / 383.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.627, allocations: 8 kB / 383.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.6271, allocations: 11.98 kB / 383.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.6272, allocations: 15.97 kB / 384 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6272, allocations: 15.98 kB / 384 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.6272, allocations: 135.2 kB / 384.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6272, allocations: 0 / 384.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.6274, allocations: 67.94 kB / 384.2 MB, free: 14.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/0.6278, allocations: 175.9 kB / 384.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.6282, allocations: 231.9 kB / 384.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6282, allocations: 0 / 384.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.6285, allocations: 303.8 kB / 384.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.6289, allocations: 104.3 kB / 385 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.6299, allocations: 0.5356 MB / 385.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.6299, allocations: 85.31 kB / 385.6 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.6301, allocations: 101.2 kB / 385.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.6301, allocations: 20.5 kB / 385.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6301, allocations: 0 / 385.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.007051/0.6372, allocations: 5.31 MB / 391 MB, free: 7.574 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1954247038811445]