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.001546/0.001546, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.002196/0.002196, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01272/0.01272, allocations: 2.8 MB / 312.4 MB, free: 2.312 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia 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.002013/0.002013, allocations: 64.33 kB / 434.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.0962, allocations: 54.12 MB / 488.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.05891/0.1551, allocations: 51.05 MB / 0.5268 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03249/0.1876, allocations: 29.17 MB / 0.5552 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00068/0.1883, allocations: 4 kB / 0.5553 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1901, allocations: 0.6136 MB / 0.5559 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007096/0.1972, allocations: 2.25 MB / 0.558 GB, free: 13.02 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00958/0.2068, allocations: 2.929 MB / 0.5609 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.2085, allocations: 0.9248 MB / 0.5618 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2086, allocations: 29.77 kB / 0.5618 GB, free: 9.105 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.9443/1.153, allocations: 51.85 MB / 0.6125 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/1.153, allocations: 304.2 kB / 0.6128 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/1.154, allocations: 39.91 kB / 0.6128 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2159/1.37, allocations: 27.33 MB / 0.6395 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/1.37, allocations: 118.2 kB / 0.6396 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/1.371, allocations: 329 kB / 0.6399 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006597/1.378, allocations: 1.868 MB / 0.6417 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.378, allocations: 3.938 kB / 0.6417 GB, free: 6.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/1.378, allocations: 3.281 kB / 0.6417 GB, free: 6.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.852e-05/1.378, allocations: 0 / 0.6417 GB, free: 6.75 MB / 446.1 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.001873/1.38, allocations: 1.125 MB / 0.6428 GB, free: 5.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.38, allocations: 15.98 kB / 0.6429 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.728e-05/1.38, allocations: 13.5 kB / 0.6429 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/1.38, allocations: 117.9 kB / 0.643 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.382, allocations: 0.5007 MB / 0.6435 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005593/1.388, allocations: 339.3 kB / 0.6438 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/1.388, allocations: 44.12 kB / 0.6438 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.388, allocations: 64.56 kB / 0.6439 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.39, allocations: 0.8613 MB / 0.6447 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.39, allocations: 2.438 kB / 0.6447 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/1.39, allocations: 31.3 kB / 0.6448 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/1.39, allocations: 34.59 kB / 0.6448 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/1.391, allocations: 0.704 MB / 0.6455 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/1.394, allocations: 5.017 MB / 0.6504 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/1.395, allocations: 255.9 kB / 0.6506 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/1.395, allocations: 158.9 kB / 0.6508 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/1.397, allocations: 1.526 MB / 0.6523 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/1.397, allocations: 41.12 kB / 0.6523 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 3.156e-06/1.397, allocations: 4 kB / 0.6523 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001669/1.398, allocations: 0.5973 MB / 0.6529 GB, free: 12.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/1.399, allocations: 81.11 kB / 0.653 GB, free: 12.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/1.399, allocations: 186.1 kB / 0.6532 GB, free: 12.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/1.399, allocations: 29.52 kB / 0.6532 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/1.399, allocations: 297.7 kB / 0.6535 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.399, allocations: 242.4 kB / 0.6537 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/1.399, allocations: 98.7 kB / 0.6538 GB, free: 11.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/1.399, allocations: 340.9 kB / 0.6541 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.4, allocations: 121 kB / 0.6542 GB, free: 11.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/1.4, allocations: 296.8 kB / 0.6545 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/1.401, allocations: 483.2 kB / 0.655 GB, free: 10.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.401, allocations: 4 kB / 0.655 GB, free: 10.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008442/1.402, allocations: 488.4 kB / 0.6555 GB, free: 10.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.402, allocations: 11.94 kB / 0.6555 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.402, allocations: 4 kB / 0.6555 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.402, allocations: 8 kB / 0.6555 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/1.402, allocations: 67.47 kB / 0.6555 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.402, allocations: 11.98 kB / 0.6556 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/1.402, allocations: 67.27 kB / 0.6556 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.402, allocations: 16.28 kB / 0.6556 GB, free: 10.14 MB / 462.1 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,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.0002448/1.402, allocations: 208.6 kB / 0.6558 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/1.403, allocations: 35.7 kB / 0.6559 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/1.403, allocations: 25.72 kB / 0.6559 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.403, allocations: 4 kB / 0.6559 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.403, allocations: 0 / 0.6559 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.403, allocations: 0 / 0.6559 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/1.403, allocations: 0.4885 MB / 0.6564 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.403, allocations: 0 / 0.6564 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/1.403, allocations: 31.53 kB / 0.6564 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.403, allocations: 7.938 kB / 0.6564 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/1.403, allocations: 7.062 kB / 0.6564 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.403, allocations: 4 kB / 0.6564 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.403, allocations: 0 / 0.6564 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/1.404, allocations: 0.4954 MB / 0.6569 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.404, allocations: 128 kB / 0.657 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/1.404, allocations: 10.56 kB / 0.657 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.404, allocations: 7.188 kB / 0.657 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/1.404, allocations: 11.98 kB / 0.6571 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/1.405, allocations: 11.48 kB / 0.6571 GB, free: 8.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001021/1.405, allocations: 118.8 kB / 0.6572 GB, free: 8.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/1.405, allocations: 0 / 0.6572 GB, free: 8.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007256/1.405, allocations: 190.8 kB / 0.6574 GB, free: 8.621 MB / 462.1 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.001506/1.407, allocations: 1.252 MB / 0.6586 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008599/1.408, allocations: 0.556 MB / 0.6591 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.408, allocations: 0 / 0.6591 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/1.408, allocations: 465.2 kB / 0.6596 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/1.409, allocations: 199.6 kB / 0.6598 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/1.414, allocations: 3.625 MB / 0.6633 GB, free: 3.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/1.415, allocations: 0.9458 MB / 0.6642 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005352/1.415, allocations: 261.5 kB / 0.6645 GB, free: 1.883 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/1.416, allocations: 273.5 kB / 0.6647 GB, free: 1.816 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/1.416, allocations: 0 / 0.6647 GB, free: 1.816 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/1.461, allocations: 18.17 MB / 0.6825 GB, free: 15.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.573/11.03, allocations: 12 kB / 0.6825 GB, free: 15.74 MB / 494.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.297139381000306] Failed to read output from testmodel.py, exit status != 0: 11.38598473300226 11.401879789 10.020261363 Calling exit ...