Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.001394/0.001394, 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.001634/0.001634, allocations: 215.4 kB / 22.25 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.781 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.01252/0.01252, allocations: 2.805 MB / 315.2 MB, free: 92 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",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.002263/0.002263, allocations: 64.19 kB / 438.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1089, allocations: 54.18 MB / 492.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2925/0.4014, allocations: 45.38 MB / 0.5256 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02817/0.4296, allocations: 25.15 MB / 0.5502 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.4302, allocations: 6.75 kB / 0.5502 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.4318, allocations: 0.4983 MB / 0.5506 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005946/0.4377, allocations: 2.182 MB / 0.5528 GB, free: 10.64 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009081/0.4468, allocations: 2.891 MB / 0.5556 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.4482, allocations: 0.9315 MB / 0.5565 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4483, allocations: 28.3 kB / 0.5565 GB, free: 7.746 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.6871/1.135, allocations: 52 MB / 0.6073 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/1.136, allocations: 290.6 kB / 0.6076 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/1.136, allocations: 40 kB / 0.6076 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2248/1.361, allocations: 27.39 MB / 0.6344 GB, free: 9.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/1.361, allocations: 107.5 kB / 0.6345 GB, free: 9.484 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005235/1.362, allocations: 270.8 kB / 0.6347 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005759/1.368, allocations: 1.869 MB / 0.6366 GB, free: 7.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.368, allocations: 0 / 0.6366 GB, free: 7.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/1.368, allocations: 3.938 kB / 0.6366 GB, free: 7.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/1.368, allocations: 0 / 0.6366 GB, free: 7.34 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.001847/1.37, allocations: 1.045 MB / 0.6376 GB, free: 6.262 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.37, allocations: 8.031 kB / 0.6376 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/1.37, allocations: 119 kB / 0.6377 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/1.372, allocations: 0.4961 MB / 0.6382 GB, free: 5.633 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/1.375, allocations: 273.7 kB / 0.6385 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/1.375, allocations: 45.88 kB / 0.6385 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-05/1.376, allocations: 59.94 kB / 0.6386 GB, free: 5.238 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/1.377, allocations: 0.9848 MB / 0.6395 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.377, allocations: 0 / 0.6395 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/1.377, allocations: 28 kB / 0.6395 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/1.377, allocations: 31.97 kB / 0.6396 GB, free: 4.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.379, allocations: 0.7084 MB / 0.6403 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/1.382, allocations: 2.725 MB / 0.6429 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/1.383, allocations: 285.1 kB / 0.6432 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/1.383, allocations: 165.4 kB / 0.6434 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.384, allocations: 0.8769 MB / 0.6442 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.384, allocations: 50.47 kB / 0.6443 GB, free: 15.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 1.843e-06/1.384, allocations: 3.938 kB / 0.6443 GB, free: 15.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.002045/1.386, allocations: 0.628 MB / 0.6449 GB, free: 14.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.386, allocations: 81.11 kB / 0.645 GB, free: 14.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/1.387, allocations: 174.1 kB / 0.6451 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.387, allocations: 29.7 kB / 0.6452 GB, free: 14.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/1.387, allocations: 292.5 kB / 0.6454 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/1.387, allocations: 253.7 kB / 0.6457 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/1.387, allocations: 97.95 kB / 0.6458 GB, free: 13.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/1.387, allocations: 342.8 kB / 0.6461 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/1.388, allocations: 121.3 kB / 0.6462 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/1.388, allocations: 289.3 kB / 0.6465 GB, free: 12.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/1.389, allocations: 477.5 kB / 0.6469 GB, free: 12.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.389, allocations: 4 kB / 0.6469 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009089/1.39, allocations: 476.8 kB / 0.6474 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.39, allocations: 15.88 kB / 0.6474 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.39, allocations: 8.031 kB / 0.6474 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.39, allocations: 8 kB / 0.6474 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/1.39, allocations: 67.89 kB / 0.6475 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/1.39, allocations: 11.94 kB / 0.6475 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/1.39, allocations: 63.5 kB / 0.6476 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.39, allocations: 16 kB / 0.6476 GB, free: 11.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.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.0002429/1.391, allocations: 189.8 kB / 0.6478 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/1.391, allocations: 31.75 kB / 0.6478 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/1.391, allocations: 29.97 kB / 0.6478 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.391, allocations: 7.984 kB / 0.6478 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.391, allocations: 0 / 0.6478 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.391, allocations: 0 / 0.6478 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/1.391, allocations: 436 kB / 0.6482 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.391, allocations: 0 / 0.6482 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/1.392, allocations: 35.92 kB / 0.6483 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/1.392, allocations: 11.94 kB / 0.6483 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.392, allocations: 8 kB / 0.6483 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.392, allocations: 0 / 0.6483 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.392, allocations: 4 kB / 0.6483 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/1.392, allocations: 0.5255 MB / 0.6488 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/1.392, allocations: 39.64 kB / 0.6489 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/1.392, allocations: 11.88 kB / 0.6489 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/1.393, allocations: 7.984 kB / 0.6489 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/1.393, allocations: 28.33 kB / 0.6489 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/1.393, allocations: 8 kB / 0.6489 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001016/1.393, allocations: 124.1 kB / 0.649 GB, free: 10.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.393, allocations: 4 kB / 0.649 GB, free: 10.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000656/1.394, allocations: 195.4 kB / 0.6492 GB, free: 9.816 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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.00164/1.395, allocations: 1.267 MB / 0.6505 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009276/1.396, allocations: 0.5641 MB / 0.651 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.396, allocations: 0 / 0.651 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/1.397, allocations: 472.2 kB / 0.6515 GB, free: 7.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.398, allocations: 202.6 kB / 0.6516 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/1.403, allocations: 3.63 MB / 0.6552 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/1.403, allocations: 357.7 kB / 0.6555 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005669/1.404, allocations: 257.8 kB / 0.6558 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/1.404, allocations: 275.3 kB / 0.656 GB, free: 2.461 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/1.404, allocations: 0 / 0.656 GB, free: 2.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/1.468, allocations: 19.58 MB / 0.6752 GB, free: 15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/13.25, allocations: 0 / 0.6752 GB, free: 15 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.31955449236557] Failed to read output from testmodel.py, exit status != 0: 13.586981995031238 13.615413035 12.241960794 Calling exit ...