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.001307/0.001307, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001475/0.001475, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.785 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.01273/0.01273, allocations: 2.814 MB / 315.2 MB, free: 184 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",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.002083/0.002083, allocations: 67.91 kB / 438.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09733, allocations: 54.18 MB / 492.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2749/0.3723, allocations: 45.4 MB / 0.5256 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.3983, allocations: 25.15 MB / 0.5502 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.3989, allocations: 2.469 kB / 0.5502 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.4004, allocations: 0.501 MB / 0.5507 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.407, allocations: 2.185 MB / 0.5528 GB, free: 10.78 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.00905/0.4161, allocations: 2.891 MB / 0.5556 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.4173, allocations: 0.9398 MB / 0.5566 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.4174, allocations: 29.34 kB / 0.5566 GB, free: 7.883 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.7123/1.13, allocations: 52 MB / 0.6074 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/1.13, allocations: 290.6 kB / 0.6076 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.975e-05/1.131, allocations: 40 kB / 0.6077 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2305/1.361, allocations: 27.39 MB / 0.6344 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/1.361, allocations: 115.4 kB / 0.6345 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/1.362, allocations: 274.8 kB / 0.6348 GB, free: 9.336 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006991/1.369, allocations: 1.866 MB / 0.6366 GB, free: 7.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.369, allocations: 0 / 0.6366 GB, free: 7.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.369, allocations: 4 kB / 0.6366 GB, free: 7.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/1.369, allocations: 0 / 0.6366 GB, free: 7.461 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.001579/1.37, allocations: 1.041 MB / 0.6376 GB, free: 6.387 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.37, allocations: 8.031 kB / 0.6377 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/1.371, allocations: 119 kB / 0.6378 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/1.373, allocations: 0.4961 MB / 0.6383 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/1.376, allocations: 289.6 kB / 0.6385 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/1.376, allocations: 45.88 kB / 0.6386 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/1.376, allocations: 59.94 kB / 0.6386 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/1.378, allocations: 0.9731 MB / 0.6396 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.378, allocations: 7.938 kB / 0.6396 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/1.378, allocations: 24 kB / 0.6396 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/1.378, allocations: 27.98 kB / 0.6396 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/1.379, allocations: 0.7201 MB / 0.6403 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/1.383, allocations: 2.791 MB / 0.6431 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/1.384, allocations: 273 kB / 0.6433 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/1.385, allocations: 157.7 kB / 0.6435 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.386, allocations: 0.8767 MB / 0.6443 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.386, allocations: 34.56 kB / 0.6444 GB, free: 15.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.034e-06/1.386, allocations: 3.938 kB / 0.6444 GB, free: 15.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001609/1.387, allocations: 0.6012 MB / 0.645 GB, free: 14.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.387, allocations: 85.09 kB / 0.645 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/1.388, allocations: 198.4 kB / 0.6452 GB, free: 14.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.388, allocations: 33.7 kB / 0.6453 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/1.388, allocations: 296.4 kB / 0.6455 GB, free: 14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.388, allocations: 241.8 kB / 0.6458 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.388, allocations: 93.97 kB / 0.6459 GB, free: 13.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/1.388, allocations: 342.8 kB / 0.6462 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/1.389, allocations: 121.3 kB / 0.6463 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/1.389, allocations: 307.9 kB / 0.6466 GB, free: 12.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/1.39, allocations: 481 kB / 0.6471 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.39, allocations: 0 / 0.6471 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008451/1.391, allocations: 492.8 kB / 0.6475 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.391, allocations: 12.12 kB / 0.6475 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.391, allocations: 8.062 kB / 0.6475 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.391, allocations: 11.94 kB / 0.6476 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/1.391, allocations: 83.89 kB / 0.6476 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009336/1.392, allocations: 1.184 MB / 0.6488 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/1.392, allocations: 59.5 kB / 0.6489 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/1.392, allocations: 20.16 kB / 0.6489 GB, free: 10.36 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.0002679/1.393, allocations: 197.9 kB / 0.6491 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/1.393, allocations: 27.81 kB / 0.6491 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/1.393, allocations: 30.64 kB / 0.6491 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.393, allocations: 0 / 0.6491 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.393, allocations: 3.938 kB / 0.6491 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.393, allocations: 4 kB / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/1.393, allocations: 440 kB / 0.6495 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/1.393, allocations: 4 kB / 0.6495 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/1.394, allocations: 43.91 kB / 0.6496 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/1.394, allocations: 0 / 0.6496 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.394, allocations: 12 kB / 0.6496 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006855/1.394, allocations: 1.168 MB / 0.6507 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.394, allocations: 8.016 kB / 0.6507 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/1.395, allocations: 0.51 MB / 0.6512 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/1.396, allocations: 35.69 kB / 0.6513 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/1.396, allocations: 0 / 0.6513 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/1.396, allocations: 11.98 kB / 0.6513 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/1.396, allocations: 20.17 kB / 0.6513 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.396, allocations: 8 kB / 0.6513 GB, free: 7.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001183/1.396, allocations: 132.1 kB / 0.6514 GB, free: 7.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.396, allocations: 0 / 0.6514 GB, free: 7.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006988/1.397, allocations: 199.5 kB / 0.6516 GB, free: 7.414 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.001477/1.398, allocations: 1.236 MB / 0.6528 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/1.399, allocations: 0.584 MB / 0.6534 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.399, allocations: 3.938 kB / 0.6534 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000622/1.4, allocations: 479.7 kB / 0.6539 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.401, allocations: 186 kB / 0.6541 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/1.406, allocations: 3.672 MB / 0.6576 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/1.406, allocations: 352.8 kB / 0.658 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004704/1.407, allocations: 211.8 kB / 0.6582 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.407, allocations: 279.3 kB / 0.6584 GB, free: 60 kB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/1.407, allocations: 0 / 0.6584 GB, free: 60 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05171/1.459, allocations: 19.42 MB / 0.6774 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.55, allocations: 9 kB / 0.6774 GB, free: 12.71 MB / 0.5137 GB " [Timeout remaining time 645] (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: 17.633693667128682] Failed to read output from testmodel.py, exit status != 0: 14.89381008502096 14.926714559 13.552215245 Calling exit ...