Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.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.002077/0.002077, allocations: 109.5 kB / 18.95 MB, free: 1.176 MB / 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.003409/0.003409, allocations: 214.4 kB / 22.25 MB, free: 3.566 MB / 13.93 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 2.163/2.163, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.0532/0.0532, allocations: 2.945 MB / 315.4 MB, free: 14.96 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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_SVDSBTL.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.01616/0.01616, allocations: 70.67 kB / 440.1 MB, free: 45.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2664, allocations: 54.23 MB / 494.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit): time 0.134/0.4004, allocations: 45.71 MB / 0.5274 GB, free: 9.621 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07275/0.4732, allocations: 25.15 MB / 0.552 GB, free: 392 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.4737, allocations: 4 kB / 0.552 GB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4106/0.8843, allocations: 0.4972 MB / 0.5525 GB, free: 3.727 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.9021, allocations: 2.172 MB / 0.5546 GB, free: 3.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02058/0.9227, allocations: 3.002 MB / 0.5575 GB, free: 3.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004734/0.9274, allocations: 0.9361 MB / 0.5584 GB, free: 3.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.9276, allocations: 29.91 kB / 0.5585 GB, free: 3.637 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Common/CheckCoolPropOptions.mo:2:1-108:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 45.76/46.68, allocations: 79.68 MB / 0.6363 GB, free: 2.043 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/46.68, allocations: 297.7 kB / 0.6366 GB, free: 1.809 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/46.68, allocations: 40 kB / 0.6366 GB, free: 1.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3882/47.07, allocations: 41.22 MB / 0.6768 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/47.07, allocations: 106.4 kB / 0.6769 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/47.07, allocations: 274.7 kB / 0.6772 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005038/47.08, allocations: 1.863 MB / 0.679 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/47.08, allocations: 0 / 0.679 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/47.08, allocations: 4 kB / 0.679 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.745e-06/47.08, allocations: 0 / 0.679 GB, free: 10.3 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001579/47.08, allocations: 1.043 MB / 0.6801 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/47.08, allocations: 8.031 kB / 0.6801 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/47.08, allocations: 0.4961 MB / 0.6805 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/47.08, allocations: 286 kB / 0.6808 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/47.08, allocations: 46.06 kB / 0.6809 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/47.08, allocations: 56 kB / 0.6809 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/47.08, allocations: 0.9867 MB / 0.6819 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/47.08, allocations: 7 kB / 0.6819 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/47.08, allocations: 24 kB / 0.6819 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/47.08, allocations: 31.92 kB / 0.6819 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/47.08, allocations: 0.7209 MB / 0.6826 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/47.09, allocations: 2.679 MB / 0.6853 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/47.09, allocations: 264.1 kB / 0.6855 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/47.09, allocations: 157.7 kB / 0.6857 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/47.09, allocations: 0.8718 MB / 0.6865 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/47.09, allocations: 34.56 kB / 0.6865 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=71): time 2.014e-06/47.09, allocations: 0 / 0.6865 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.001418/47.09, allocations: 0.5977 MB / 0.6871 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/47.09, allocations: 84.3 kB / 0.6872 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/47.09, allocations: 199.1 kB / 0.6874 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/47.09, allocations: 29.64 kB / 0.6874 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/47.09, allocations: 291.7 kB / 0.6877 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/47.09, allocations: 248.8 kB / 0.6879 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/47.09, allocations: 97.95 kB / 0.688 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001849/47.09, allocations: 342.8 kB / 0.6884 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/47.09, allocations: 121.2 kB / 0.6885 GB, free: 452 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/47.09, allocations: 307.3 kB / 0.6888 GB, free: 72 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/47.09, allocations: 474.3 kB / 0.6892 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/47.09, allocations: 0 / 0.6892 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007473/47.09, allocations: 489.3 kB / 0.6897 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/47.09, allocations: 4.719 kB / 0.6897 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/47.09, allocations: 11.98 kB / 0.6897 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/47.09, allocations: 15.94 kB / 0.6897 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/47.1, allocations: 69.78 kB / 0.6898 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/47.1, allocations: 10.62 kB / 0.6898 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/47.1, allocations: 59.5 kB / 0.6899 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/47.1, allocations: 24.16 kB / 0.6899 GB, free: 14.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002194/47.1, allocations: 188.2 kB / 0.6901 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/47.1, allocations: 31.77 kB / 0.6901 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/47.1, allocations: 1.21 MB / 0.6913 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001207/47.1, allocations: 1.007 MB / 0.6923 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/47.1, allocations: 4 kB / 0.6923 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/47.1, allocations: 3.984 kB / 0.6923 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/47.1, allocations: 2.107 MB / 0.6943 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/47.1, allocations: 3.938 kB / 0.6943 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/47.1, allocations: 110.2 kB / 0.6944 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/47.1, allocations: 4 kB / 0.6944 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/47.1, allocations: 12 kB / 0.6944 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/47.1, allocations: 4 kB / 0.6944 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/47.1, allocations: 11.91 kB / 0.6945 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/47.1, allocations: 0.8933 MB / 0.6953 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/47.1, allocations: 67.34 kB / 0.6954 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/47.1, allocations: 12 kB / 0.6954 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/47.1, allocations: 20 kB / 0.6954 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/47.1, allocations: 47.84 kB / 0.6955 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/47.1, allocations: 16 kB / 0.6955 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001079/47.1, allocations: 123.2 kB / 0.6956 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/47.1, allocations: 0 / 0.6956 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006379/47.1, allocations: 227.5 kB / 0.6958 GB, free: 8.816 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000719/47.1, allocations: 314.3 kB / 0.6961 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009793/47.11, allocations: 0.7141 MB / 0.6968 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/47.11, allocations: 0 / 0.6968 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/47.11, allocations: 316.1 kB / 0.6971 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/47.11, allocations: 336.9 kB / 0.6974 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/47.11, allocations: 1.298 MB / 0.6987 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/47.11, allocations: 362.5 kB / 0.6991 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003557/47.11, allocations: 129.1 kB / 0.6992 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/47.11, allocations: 55.38 kB / 0.6992 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/47.11, allocations: 0 / 0.6992 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of Templates: time 0.02463/47.13, allocations: 14.79 MB / 0.7137 GB, free: 6.629 MB / 0.5261 GB " [Timeout remaining time 613] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 54.53609874565154]