Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.0009397/0.0009397, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001553/0.001553, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.014/1.014, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.008519/0.008519, allocations: 1.991 MB / 262.2 MB, free: 10.89 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_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 332.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.073e-05, allocations: 6.312 kB / 332.8 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.009781/0.009811, allocations: 11.81 MB / 344.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.01839, allocations: 12.03 MB / 356.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.01871, allocations: 4 kB / 356.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.01929, allocations: 222.3 kB / 356.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.02201, allocations: 1.257 MB / 358.1 MB, free: 8.258 MB / 330.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.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.02452, allocations: 1.165 MB / 359.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.02554, allocations: 0.9824 MB / 360.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.02562, allocations: 29.91 kB / 360.3 MB, free: 6.066 MB / 330.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.6812/0.7068, allocations: 22.03 MB / 382.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.7073, allocations: 239.3 kB / 382.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.34e-05/0.7073, allocations: 40 kB / 382.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.7091, allocations: 0.6948 MB / 383.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.7092, allocations: 111.5 kB / 383.4 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.7094, allocations: 227.5 kB / 383.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.7114, allocations: 0.9359 MB / 384.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.7114, allocations: 0 / 384.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.616e-06/0.7114, allocations: 4 kB / 384.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.7114, allocations: 0 / 384.6 MB, free: 15.81 MB / 362.7 MB 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.001508/0.7129, allocations: 1.002 MB / 385.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.713, allocations: 8.031 kB / 385.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.7145, allocations: 1.03 MB / 386.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.7149, allocations: 279.7 kB / 386.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.7149, allocations: 45.69 kB / 386.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.7149, allocations: 60.38 kB / 387 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.7156, allocations: 0.7236 MB / 387.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7156, allocations: 0 / 387.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.7157, allocations: 24 kB / 387.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.7157, allocations: 31.98 kB / 387.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.716, allocations: 298.8 kB / 388.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.718, allocations: 3.172 MB / 391.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.7183, allocations: 210 kB / 391.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.7184, allocations: 91.38 kB / 391.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/0.719, allocations: 0.9233 MB / 392.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.719, allocations: 37.39 kB / 392.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.392e-06/0.719, allocations: 0 / 392.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008078/0.7198, allocations: 0.4961 MB / 393 MB, free: 7.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.7199, allocations: 85.05 kB / 393.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.72, allocations: 249.5 kB / 393.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.72, allocations: 25.7 kB / 393.3 MB, free: 6.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.7201, allocations: 343.1 kB / 393.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.7202, allocations: 245.8 kB / 393.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.7203, allocations: 103.6 kB / 394 MB, free: 5.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7204, allocations: 0.5195 MB / 394.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.7205, allocations: 49.3 kB / 394.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.7206, allocations: 314.6 kB / 394.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.7209, allocations: 419.5 kB / 395.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7209, allocations: 4 kB / 395.3 MB, free: 4.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003478/0.7212, allocations: 396.2 kB / 395.7 MB, free: 4.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.7213, allocations: 4.719 kB / 395.7 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.7213, allocations: 8 kB / 395.7 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7213, allocations: 12 kB / 395.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.7214, allocations: 67.91 kB / 395.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7214, allocations: 15.94 kB / 395.8 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.7215, allocations: 63.39 kB / 395.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.7216, allocations: 20 kB / 395.9 MB, free: 3.887 MB / 362.7 MB 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,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * 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.0003699/0.7219, allocations: 180.4 kB / 396.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.722, allocations: 39.75 kB / 396.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.722, allocations: 22.66 kB / 396.1 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.722, allocations: 0 / 396.1 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.722, allocations: 8 kB / 396.1 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.722, allocations: 7.922 kB / 396.1 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.7223, allocations: 296.6 kB / 396.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7223, allocations: 0 / 396.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.7224, allocations: 23.98 kB / 396.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.7224, allocations: 4 kB / 396.4 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.7224, allocations: 8 kB / 396.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7224, allocations: 0 / 396.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7224, allocations: 0 / 396.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.7227, allocations: 0.5375 MB / 397 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.7227, allocations: 31.69 kB / 397 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.7227, allocations: 11.98 kB / 397 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.7228, allocations: 4 kB / 397 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.7229, allocations: 15.97 kB / 397.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.7229, allocations: 8 kB / 397.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.12e-05/0.7229, allocations: 155.1 kB / 397.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7229, allocations: 0 / 397.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.7233, allocations: 187.5 kB / 397.4 MB, free: 2.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.0002783/0.7236, allocations: 195.3 kB / 397.6 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.7239, allocations: 480.1 kB / 398.1 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7239, allocations: 0 / 398.1 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.7241, allocations: 432.8 kB / 398.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.7248, allocations: 200.2 kB / 398.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.7259, allocations: 0.9814 MB / 399.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.726, allocations: 167.7 kB / 399.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002981/0.7263, allocations: 209.9 kB / 400 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.7265, allocations: 230.1 kB / 400.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7265, allocations: 0 / 400.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of Templates: time 0.0127/0.7392, allocations: 10.07 MB / 410.3 MB, free: 5.184 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.348733775317669]