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.001692/0.001692, allocations: 116.1 kB / 17.17 MB, free: 6 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.001753/0.001753, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.495/1.495, 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.01159/0.01159, allocations: 2.795 MB / 312.3 MB, free: 2.367 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",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.002012/0.002012, allocations: 64.27 kB / 434.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08793, allocations: 54.12 MB / 488.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.05477/0.1427, allocations: 51.05 MB / 0.5268 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03226/0.175, allocations: 29.16 MB / 0.5552 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/0.1755, allocations: 11.94 kB / 0.5553 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.1773, allocations: 0.6059 MB / 0.5558 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0068/0.1841, allocations: 2.254 MB / 0.558 GB, free: 13.04 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.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.008685/0.1928, allocations: 2.922 MB / 0.5609 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.1942, allocations: 0.9286 MB / 0.5618 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1943, allocations: 21.78 kB / 0.5618 GB, free: 9.137 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.907/1.101, allocations: 51.86 MB / 0.6125 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/1.102, allocations: 306.4 kB / 0.6128 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/1.102, allocations: 40.31 kB / 0.6128 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2181/1.32, allocations: 27.33 MB / 0.6395 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/1.32, allocations: 119.7 kB / 0.6396 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004844/1.321, allocations: 340.5 kB / 0.6399 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005818/1.327, allocations: 1.859 MB / 0.6417 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.327, allocations: 0 / 0.6417 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/1.327, allocations: 0 / 0.6417 GB, free: 6.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/1.327, allocations: 0 / 0.6417 GB, free: 6.793 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.001651/1.328, allocations: 1.123 MB / 0.6428 GB, free: 5.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.328, allocations: 15.98 kB / 0.6429 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.325e-05/1.328, allocations: 17.5 kB / 0.6429 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/1.329, allocations: 117.4 kB / 0.643 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/1.33, allocations: 0.498 MB / 0.6435 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004678/1.335, allocations: 345.5 kB / 0.6438 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/1.335, allocations: 44.56 kB / 0.6438 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/1.335, allocations: 60.44 kB / 0.6439 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.337, allocations: 0.8728 MB / 0.6448 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/1.337, allocations: 3.938 kB / 0.6448 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/1.337, allocations: 26.06 kB / 0.6448 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/1.337, allocations: 32.48 kB / 0.6448 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.338, allocations: 0.7007 MB / 0.6455 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/1.341, allocations: 4.955 MB / 0.6503 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/1.342, allocations: 283.3 kB / 0.6506 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/1.342, allocations: 164.2 kB / 0.6508 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/1.344, allocations: 1.548 MB / 0.6523 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.344, allocations: 41.19 kB / 0.6523 GB, free: 13.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 1.833e-06/1.344, allocations: 0 / 0.6523 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.001757/1.345, allocations: 0.6275 MB / 0.6529 GB, free: 12.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/1.345, allocations: 83.83 kB / 0.653 GB, free: 12.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.346, allocations: 164.6 kB / 0.6532 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/1.346, allocations: 30.89 kB / 0.6532 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/1.346, allocations: 289.7 kB / 0.6535 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/1.346, allocations: 246.1 kB / 0.6537 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/1.346, allocations: 99.83 kB / 0.6538 GB, free: 11.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/1.346, allocations: 344.9 kB / 0.6541 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/1.347, allocations: 123.4 kB / 0.6542 GB, free: 11.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/1.347, allocations: 285.3 kB / 0.6545 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/1.348, allocations: 478.7 kB / 0.655 GB, free: 10.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.348, allocations: 0 / 0.655 GB, free: 10.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000878/1.349, allocations: 482.2 kB / 0.6554 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.349, allocations: 12.56 kB / 0.6554 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.349, allocations: 7.938 kB / 0.6555 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.349, allocations: 12 kB / 0.6555 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/1.349, allocations: 69.41 kB / 0.6555 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.349, allocations: 11.98 kB / 0.6555 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/1.349, allocations: 55.33 kB / 0.6556 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/1.349, allocations: 19.75 kB / 0.6556 GB, free: 10.21 MB / 462.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.0002204/1.35, allocations: 191.8 kB / 0.6558 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/1.35, allocations: 31.75 kB / 0.6558 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/1.35, allocations: 32.66 kB / 0.6559 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.35, allocations: 4 kB / 0.6559 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.35, allocations: 0 / 0.6559 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.35, allocations: 0 / 0.6559 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/1.35, allocations: 0.4935 MB / 0.6563 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.35, allocations: 0 / 0.6563 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.351, allocations: 31.08 kB / 0.6564 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.351, allocations: 3.938 kB / 0.6564 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/1.351, allocations: 11.48 kB / 0.6564 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.351, allocations: 4 kB / 0.6564 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.351, allocations: 7.938 kB / 0.6564 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/1.351, allocations: 0.5201 MB / 0.6569 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.351, allocations: 123.9 kB / 0.657 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/1.351, allocations: 3.984 kB / 0.657 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.352, allocations: 15.75 kB / 0.657 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/1.352, allocations: 23.34 kB / 0.6571 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/1.352, allocations: 19.05 kB / 0.6571 GB, free: 8.945 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000105/1.352, allocations: 118.1 kB / 0.6572 GB, free: 8.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.352, allocations: 0 / 0.6572 GB, free: 8.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006916/1.353, allocations: 194.7 kB / 0.6574 GB, free: 8.66 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: 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.001637/1.354, allocations: 1.263 MB / 0.6586 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009375/1.355, allocations: 0.5671 MB / 0.6592 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.355, allocations: 4 kB / 0.6592 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/1.356, allocations: 471.1 kB / 0.6596 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.357, allocations: 199.5 kB / 0.6598 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/1.362, allocations: 3.628 MB / 0.6634 GB, free: 3.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/1.363, allocations: 0.9475 MB / 0.6643 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005641/1.363, allocations: 265.4 kB / 0.6645 GB, free: 1.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.363, allocations: 275 kB / 0.6648 GB, free: 1.84 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/1.363, allocations: 0 / 0.6648 GB, free: 1.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/1.406, allocations: 18.66 MB / 0.683 GB, free: 15.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/10.87, allocations: 15.78 kB / 0.683 GB, free: 15.34 MB / 494.1 MB " [Timeout remaining time 649] (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: 14.087328724039253] Failed to read output from testmodel.py, exit status != 0: 11.227680774987675 11.250943748 9.919394454 Calling exit ...