Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.00128/0.00128, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001601/0.001601, allocations: 212.2 kB / 23.02 MB, free: 4.957 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.01225/0.01225, allocations: 2.804 MB / 316 MB, free: 196 kB / 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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",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.001949/0.001949, allocations: 67.89 kB / 439.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1009, allocations: 54.18 MB / 493.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2687/0.3696, allocations: 45.38 MB / 0.5264 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.3976, allocations: 25.14 MB / 0.5509 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.3983, allocations: 6.375 kB / 0.5509 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.4002, allocations: 0.5012 MB / 0.5514 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.4078, allocations: 2.182 MB / 0.5535 GB, free: 10.84 MB / 398.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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009587/0.4174, allocations: 2.903 MB / 0.5564 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.4189, allocations: 0.944 MB / 0.5573 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.419, allocations: 23.47 kB / 0.5573 GB, free: 7.934 MB / 398.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.6944/1.113, allocations: 52.01 MB / 0.6081 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007271/1.114, allocations: 298.6 kB / 0.6084 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/1.114, allocations: 40 kB / 0.6084 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2292/1.343, allocations: 27.41 MB / 0.6352 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003068/1.344, allocations: 111.5 kB / 0.6353 GB, free: 9.617 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008335/1.344, allocations: 278.8 kB / 0.6356 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00904/1.354, allocations: 1.866 MB / 0.6374 GB, free: 7.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.354, allocations: 0 / 0.6374 GB, free: 7.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.116e-06/1.354, allocations: 0 / 0.6374 GB, free: 7.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.986e-05/1.354, allocations: 0 / 0.6374 GB, free: 7.473 MB / 478.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.002324/1.356, allocations: 1.052 MB / 0.6384 GB, free: 6.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.356, allocations: 11.97 kB / 0.6384 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.315e-05/1.356, allocations: 17.5 kB / 0.6384 GB, free: 6.363 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/1.356, allocations: 123 kB / 0.6386 GB, free: 6.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/1.358, allocations: 0.4961 MB / 0.639 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/1.362, allocations: 282 kB / 0.6393 GB, free: 5.438 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/1.363, allocations: 41.31 kB / 0.6394 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/1.363, allocations: 59.94 kB / 0.6394 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/1.364, allocations: 0.9848 MB / 0.6404 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.364, allocations: 4 kB / 0.6404 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/1.364, allocations: 28 kB / 0.6404 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/1.365, allocations: 27.98 kB / 0.6404 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/1.366, allocations: 0.7201 MB / 0.6411 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/1.37, allocations: 2.791 MB / 0.6439 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/1.371, allocations: 273.1 kB / 0.6441 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/1.371, allocations: 153.7 kB / 0.6443 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.373, allocations: 0.8844 MB / 0.6451 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.373, allocations: 38.5 kB / 0.6452 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.043e-06/1.373, allocations: 0 / 0.6452 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001685/1.374, allocations: 0.6051 MB / 0.6458 GB, free: 14.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/1.374, allocations: 85.05 kB / 0.6458 GB, free: 14.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/1.375, allocations: 190.5 kB / 0.646 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/1.375, allocations: 29.7 kB / 0.6461 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/1.375, allocations: 300.4 kB / 0.6463 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/1.375, allocations: 233.9 kB / 0.6466 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.375, allocations: 93.97 kB / 0.6467 GB, free: 13.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/1.375, allocations: 342.8 kB / 0.647 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/1.376, allocations: 121.3 kB / 0.6471 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/1.376, allocations: 307.9 kB / 0.6474 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/1.377, allocations: 484.9 kB / 0.6479 GB, free: 12.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.377, allocations: 4 kB / 0.6479 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009281/1.378, allocations: 492.6 kB / 0.6483 GB, free: 11.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.378, allocations: 11.94 kB / 0.6483 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.378, allocations: 4 kB / 0.6483 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/1.378, allocations: 8 kB / 0.6483 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/1.378, allocations: 87.83 kB / 0.6484 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/1.379, allocations: 1.18 MB / 0.6496 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/1.379, allocations: 67.44 kB / 0.6496 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/1.379, allocations: 23.98 kB / 0.6497 GB, free: 10.34 MB / 494.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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003949/1.38, allocations: 201.8 kB / 0.6499 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/1.38, allocations: 27.81 kB / 0.6499 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/1.38, allocations: 30.58 kB / 0.6499 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.38, allocations: 7.938 kB / 0.6499 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.38, allocations: 0 / 0.6499 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.38, allocations: 0 / 0.6499 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/1.381, allocations: 444.1 kB / 0.6503 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.381, allocations: 4 kB / 0.6504 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/1.381, allocations: 39.97 kB / 0.6504 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.381, allocations: 0 / 0.6504 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/1.381, allocations: 8 kB / 0.6504 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007432/1.382, allocations: 1.172 MB / 0.6515 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.382, allocations: 0 / 0.6515 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/1.382, allocations: 0.5219 MB / 0.6521 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/1.382, allocations: 35.69 kB / 0.6521 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/1.382, allocations: 4 kB / 0.6521 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/1.383, allocations: 7.984 kB / 0.6521 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/1.383, allocations: 15.98 kB / 0.6521 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/1.383, allocations: 15.92 kB / 0.6521 GB, free: 7.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000111/1.383, allocations: 120.2 kB / 0.6522 GB, free: 7.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.383, allocations: 0 / 0.6522 GB, free: 7.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000766/1.384, allocations: 203.4 kB / 0.6524 GB, free: 7.383 MB / 494.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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/1.385, allocations: 1.24 MB / 0.6536 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/1.386, allocations: 0.5763 MB / 0.6542 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.386, allocations: 0 / 0.6542 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000701/1.387, allocations: 475.9 kB / 0.6547 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.388, allocations: 203.7 kB / 0.6549 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/1.394, allocations: 3.664 MB / 0.6584 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/1.394, allocations: 356.7 kB / 0.6588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005151/1.395, allocations: 227.7 kB / 0.659 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.395, allocations: 271.4 kB / 0.6593 GB, free: 24 kB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/1.395, allocations: 0 / 0.6593 GB, free: 24 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/1.443, allocations: 19.72 MB / 0.6785 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.36, allocations: 7.969 kB / 0.6785 GB, free: 12.36 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.56875446694903] Failed to read output from testmodel.py, exit status != 0: 15.754148175008595 15.77951586 14.421209655 Calling exit ...