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.001423/0.001423, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001595/0.001595, allocations: 218 kB / 22.26 MB, free: 5.121 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.992 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.01314/0.01314, allocations: 2.803 MB / 315.2 MB, free: 308 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.002066/0.002066, allocations: 67.89 kB / 438.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09831, allocations: 54.17 MB / 492.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2736/0.3719, allocations: 51.35 MB / 0.5315 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.4013, allocations: 29.2 MB / 0.56 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.402, allocations: 6.906 kB / 0.56 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.4036, allocations: 0.6162 MB / 0.5606 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.4113, allocations: 2.256 MB / 0.5628 GB, free: 2.539 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.01059/0.4219, allocations: 2.929 MB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.4235, allocations: 0.9435 MB / 0.5666 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4237, allocations: 28.8 kB / 0.5666 GB, free: 15.6 MB / 414.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.712/1.136, allocations: 52 MB / 0.6174 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/1.136, allocations: 310.6 kB / 0.6177 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/1.137, allocations: 36 kB / 0.6177 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2325/1.369, allocations: 27.41 MB / 0.6445 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/1.369, allocations: 115.5 kB / 0.6446 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006879/1.37, allocations: 330.5 kB / 0.6449 GB, free: 336 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/1.38, allocations: 1.877 MB / 0.6468 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/1.38, allocations: 0 / 0.6468 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/1.38, allocations: 0 / 0.6468 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.15e-05/1.381, allocations: 0 / 0.6468 GB, free: 14.45 MB / 494.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.00273/1.383, allocations: 1.053 MB / 0.6478 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.383, allocations: 12.03 kB / 0.6478 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/1.383, allocations: 115 kB / 0.6479 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.385, allocations: 0.5039 MB / 0.6484 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/1.39, allocations: 277.6 kB / 0.6487 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/1.39, allocations: 49.88 kB / 0.6487 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/1.39, allocations: 55.94 kB / 0.6488 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.392, allocations: 0.8883 MB / 0.6496 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/1.392, allocations: 0 / 0.6496 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/1.392, allocations: 27.94 kB / 0.6497 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/1.392, allocations: 35.97 kB / 0.6497 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.394, allocations: 0.7084 MB / 0.6504 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/1.399, allocations: 5.082 MB / 0.6553 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/1.399, allocations: 277.1 kB / 0.6556 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/1.4, allocations: 153.7 kB / 0.6558 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/1.401, allocations: 0.9274 MB / 0.6567 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.401, allocations: 38.48 kB / 0.6567 GB, free: 3.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.324e-06/1.401, allocations: 0 / 0.6567 GB, free: 3.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001631/1.403, allocations: 0.6051 MB / 0.6573 GB, free: 2.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.403, allocations: 77.11 kB / 0.6574 GB, free: 2.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/1.403, allocations: 194.5 kB / 0.6576 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.403, allocations: 33.7 kB / 0.6576 GB, free: 2.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/1.403, allocations: 292.4 kB / 0.6579 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/1.404, allocations: 241.8 kB / 0.6581 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.404, allocations: 97.95 kB / 0.6582 GB, free: 1.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/1.404, allocations: 342.8 kB / 0.6585 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/1.404, allocations: 121.3 kB / 0.6586 GB, free: 1.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/1.405, allocations: 307.9 kB / 0.6589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/1.405, allocations: 477 kB / 0.6594 GB, free: 0.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.405, allocations: 7.938 kB / 0.6594 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008791/1.406, allocations: 488.2 kB / 0.6599 GB, free: 8 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/1.406, allocations: 11.98 kB / 0.6599 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.406, allocations: 12.88 kB / 0.6599 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/1.406, allocations: 8 kB / 0.6599 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/1.407, allocations: 79.86 kB / 0.66 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008121/1.407, allocations: 1.191 MB / 0.6611 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/1.408, allocations: 51.58 kB / 0.6612 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/1.408, allocations: 28.17 kB / 0.6612 GB, free: 14.58 MB / 0.4981 GB 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.0002879/1.408, allocations: 193.7 kB / 0.6614 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/1.408, allocations: 27.81 kB / 0.6614 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/1.408, allocations: 22.66 kB / 0.6614 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.408, allocations: 8.172 kB / 0.6614 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.408, allocations: 3.938 kB / 0.6614 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.408, allocations: 7.875 kB / 0.6614 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/1.409, allocations: 471.9 kB / 0.6619 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.409, allocations: 0 / 0.6619 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/1.409, allocations: 43.97 kB / 0.6619 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.409, allocations: 0 / 0.6619 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/1.41, allocations: 8 kB / 0.6619 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006672/1.41, allocations: 1.168 MB / 0.6631 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.41, allocations: 8.094 kB / 0.6631 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/1.411, allocations: 0.51 MB / 0.6636 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/1.411, allocations: 43.58 kB / 0.6636 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/1.411, allocations: 0 / 0.6636 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.411, allocations: 15.92 kB / 0.6637 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/1.411, allocations: 19.98 kB / 0.6637 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/1.411, allocations: 7.984 kB / 0.6637 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001138/1.411, allocations: 124.2 kB / 0.6638 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/1.411, allocations: 0 / 0.6638 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007292/1.412, allocations: 195.5 kB / 0.664 GB, free: 11.61 MB / 0.4981 GB 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.001504/1.414, allocations: 1.244 MB / 0.6652 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001102/1.415, allocations: 0.5645 MB / 0.6657 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.415, allocations: 4 kB / 0.6658 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006658/1.415, allocations: 475.7 kB / 0.6662 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.417, allocations: 196.5 kB / 0.6664 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/1.422, allocations: 3.68 MB / 0.67 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/1.423, allocations: 0.9426 MB / 0.6709 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005394/1.423, allocations: 223.9 kB / 0.6711 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/1.424, allocations: 275.3 kB / 0.6714 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of SimCode: time 8.71e-07/1.424, allocations: 0 / 0.6714 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05279/1.476, allocations: 19.69 MB / 0.6906 GB, free: 24 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.55, allocations: 7.266 kB / 0.6906 GB, free: 20 kB / 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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.848287801003607] Failed to read output from testmodel.py, exit status != 0: 15.906561866999255 15.940077467 14.553890134 Calling exit ...