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.001156/0.001156, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008498/0.0008498, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8894/0.8894, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.007806/0.007806, allocations: 1.987 MB / 261.2 MB, free: 11.27 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.122e-05, allocations: 5.094 kB / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.175/0.175, allocations: 45.18 MB / 429.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1879, allocations: 25.15 MB / 455 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.1884, allocations: 1.938 kB / 455 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.1896, allocations: 0.5161 MB / 455.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.1946, allocations: 2.266 MB / 457.8 MB, free: 10.4 MB / 346.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.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.1.1/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.00693/0.2015, allocations: 2.989 MB / 460.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2026, allocations: 0.9821 MB / 461.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.2027, allocations: 28.64 kB / 461.8 MB, free: 7.352 MB / 346.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.7205/0.9232, allocations: 52.15 MB / 0.5019 GB, free: 5.305 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.9237, allocations: 239.3 kB / 0.5021 GB, free: 5.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.9238, allocations: 40 kB / 0.5022 GB, free: 5.031 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07408/0.9979, allocations: 27.39 MB / 0.5289 GB, free: 9.465 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.998, allocations: 115.4 kB / 0.529 GB, free: 9.352 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.9984, allocations: 235.5 kB / 0.5292 GB, free: 9.121 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004212/1.003, allocations: 1.897 MB / 0.5311 GB, free: 7.219 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.003, allocations: 0 / 0.5311 GB, free: 7.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.003, allocations: 0 / 0.5311 GB, free: 7.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/1.003, allocations: 3.938 kB / 0.5311 GB, free: 7.215 MB / 426.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.001045/1.004, allocations: 1.049 MB / 0.5321 GB, free: 6.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.004, allocations: 8.031 kB / 0.5321 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.242e-05/1.004, allocations: 111.1 kB / 0.5322 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009784/1.005, allocations: 0.5039 MB / 0.5327 GB, free: 5.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/1.005, allocations: 276.9 kB / 0.533 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/1.005, allocations: 49.62 kB / 0.533 GB, free: 5.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/1.005, allocations: 56.38 kB / 0.5331 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/1.006, allocations: 0.9737 MB / 0.534 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.006, allocations: 3.938 kB / 0.534 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/1.006, allocations: 35.97 kB / 0.5341 GB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/1.006, allocations: 31.98 kB / 0.5341 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/1.007, allocations: 0.7123 MB / 0.5348 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/1.009, allocations: 2.773 MB / 0.5375 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/1.009, allocations: 286.8 kB / 0.5378 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/1.009, allocations: 158.4 kB / 0.5379 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/1.01, allocations: 0.8854 MB / 0.5388 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/1.01, allocations: 34.56 kB / 0.5388 GB, free: 15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.883e-06/1.01, allocations: 0 / 0.5388 GB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.000819/1.011, allocations: 0.6014 MB / 0.5394 GB, free: 14.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.011, allocations: 89.05 kB / 0.5395 GB, free: 14.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/1.011, allocations: 194.6 kB / 0.5397 GB, free: 14.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/1.011, allocations: 33.7 kB / 0.5397 GB, free: 14.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.011, allocations: 284.5 kB / 0.54 GB, free: 13.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/1.011, allocations: 245.8 kB / 0.5402 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/1.011, allocations: 101.9 kB / 0.5403 GB, free: 13.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/1.011, allocations: 338.8 kB / 0.5406 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/1.012, allocations: 121.3 kB / 0.5408 GB, free: 12.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.012, allocations: 304 kB / 0.5411 GB, free: 12.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/1.012, allocations: 484.8 kB / 0.5415 GB, free: 12.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.012, allocations: 11.94 kB / 0.5415 GB, free: 12.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004287/1.013, allocations: 484.7 kB / 0.542 GB, free: 11.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.013, allocations: 8 kB / 0.542 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.013, allocations: 4 kB / 0.542 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.013, allocations: 11.98 kB / 0.542 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/1.013, allocations: 83.78 kB / 0.5421 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003989/1.013, allocations: 1.18 MB / 0.5432 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/1.013, allocations: 63.58 kB / 0.5433 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/1.013, allocations: 27.94 kB / 0.5433 GB, free: 10.12 MB / 442.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,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.0001532/1.013, allocations: 198.6 kB / 0.5435 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/1.014, allocations: 27.81 kB / 0.5435 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/1.014, allocations: 26.66 kB / 0.5436 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.014, allocations: 4 kB / 0.5436 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.014, allocations: 0 / 0.5436 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.014, allocations: 3.984 kB / 0.5436 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/1.014, allocations: 440.1 kB / 0.544 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.014, allocations: 4 kB / 0.544 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/1.014, allocations: 35.98 kB / 0.544 GB, free: 9.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.014, allocations: 4 kB / 0.544 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.014, allocations: 7.984 kB / 0.544 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/1.014, allocations: 1.172 MB / 0.5452 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.014, allocations: 0 / 0.5452 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/1.015, allocations: 0.5102 MB / 0.5457 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/1.015, allocations: 51.73 kB / 0.5457 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.015, allocations: 7.938 kB / 0.5457 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/1.015, allocations: 4 kB / 0.5458 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/1.015, allocations: 19.97 kB / 0.5458 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/1.015, allocations: 4 kB / 0.5458 GB, free: 7.496 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.712e-05/1.015, allocations: 119.2 kB / 0.5459 GB, free: 7.379 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/1.015, allocations: 0 / 0.5459 GB, free: 7.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004273/1.015, allocations: 199.5 kB / 0.5461 GB, free: 7.184 MB / 442.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): 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.0008412/1.016, allocations: 1.271 MB / 0.5473 GB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007025/1.017, allocations: 0.5726 MB / 0.5479 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.017, allocations: 0 / 0.5479 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/1.017, allocations: 476 kB / 0.5483 GB, free: 4.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/1.018, allocations: 180.6 kB / 0.5485 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/1.02, allocations: 3.636 MB / 0.5521 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.021, allocations: 348.8 kB / 0.5524 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/1.021, allocations: 219.8 kB / 0.5526 GB, free: 116 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/1.021, allocations: 276.5 kB / 0.5529 GB, free: 15.84 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/1.021, allocations: 0 / 0.5529 GB, free: 15.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/1.05, allocations: 19.52 MB / 0.5719 GB, free: 12.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/9.173, allocations: 10.75 kB / 0.5719 GB, free: 12.36 MB / 474.7 MB " [Timeout remaining time 650] (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: 11.903363550081849] Failed to read output from testmodel.py, exit status != 0: 9.511840597726405 9.667662523 8.518664309 Calling exit ...