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.001648/0.001648, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.001981/0.001981, allocations: 223.2 kB / 22.26 MB, free: 5.211 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.977 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.01993/0.01993, allocations: 2.792 MB / 315.2 MB, free: 300 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.003071/0.003071, allocations: 71.89 kB / 438.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1211, allocations: 54.17 MB / 492.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2748/0.3959, allocations: 51.35 MB / 0.5315 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02915/0.4251, allocations: 29.2 MB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.4258, allocations: 8.938 kB / 0.56 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.4276, allocations: 0.6091 MB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006178/0.4338, allocations: 2.258 MB / 0.5628 GB, free: 2.477 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.008636/0.4424, allocations: 2.936 MB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.4439, allocations: 0.9445 MB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.444, allocations: 27.61 kB / 0.5666 GB, free: 15.53 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.7081/1.152, allocations: 51.99 MB / 0.6174 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008523/1.153, allocations: 310.6 kB / 0.6177 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/1.153, allocations: 40 kB / 0.6177 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2368/1.39, allocations: 27.41 MB / 0.6445 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/1.39, allocations: 115.5 kB / 0.6446 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008754/1.391, allocations: 334.5 kB / 0.6449 GB, free: 264 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.403, allocations: 1.873 MB / 0.6468 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.403, allocations: 0 / 0.6468 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.403, allocations: 0 / 0.6468 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/1.403, allocations: 4 kB / 0.6468 GB, free: 14.38 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.002243/1.405, allocations: 1.049 MB / 0.6478 GB, free: 13.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.405, allocations: 8.031 kB / 0.6478 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/1.406, allocations: 119 kB / 0.6479 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/1.408, allocations: 0.4961 MB / 0.6484 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/1.413, allocations: 285.6 kB / 0.6487 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/1.413, allocations: 41.88 kB / 0.6487 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/1.414, allocations: 59.94 kB / 0.6488 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.415, allocations: 0.8805 MB / 0.6496 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.415, allocations: 7.938 kB / 0.6496 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/1.415, allocations: 24 kB / 0.6497 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/1.416, allocations: 27.98 kB / 0.6497 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/1.417, allocations: 0.724 MB / 0.6504 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/1.422, allocations: 5.094 MB / 0.6554 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/1.423, allocations: 265.1 kB / 0.6556 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/1.423, allocations: 157.7 kB / 0.6558 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/1.425, allocations: 0.9195 MB / 0.6567 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.425, allocations: 42.55 kB / 0.6567 GB, free: 3.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.104e-06/1.425, allocations: 0 / 0.6567 GB, free: 3.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001649/1.426, allocations: 0.5934 MB / 0.6573 GB, free: 2.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.426, allocations: 93.09 kB / 0.6574 GB, free: 2.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/1.427, allocations: 190.5 kB / 0.6576 GB, free: 2.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.427, allocations: 25.7 kB / 0.6576 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/1.427, allocations: 292.4 kB / 0.6579 GB, free: 2.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/1.427, allocations: 245.8 kB / 0.6581 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.427, allocations: 97.95 kB / 0.6582 GB, free: 1.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/1.427, allocations: 346.8 kB / 0.6585 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/1.428, allocations: 117.3 kB / 0.6586 GB, free: 1.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/1.428, allocations: 307.9 kB / 0.6589 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000727/1.429, allocations: 488.8 kB / 0.6594 GB, free: 436 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.429, allocations: 0 / 0.6594 GB, free: 436 kB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009428/1.43, allocations: 492.3 kB / 0.6599 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.43, allocations: 12.66 kB / 0.6599 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.43, allocations: 4 kB / 0.6599 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/1.43, allocations: 12 kB / 0.6599 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/1.43, allocations: 83.84 kB / 0.66 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/1.431, allocations: 1.176 MB / 0.6611 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.432, allocations: 67.7 kB / 0.6612 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/1.432, allocations: 19.98 kB / 0.6612 GB, free: 14.52 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.0003176/1.432, allocations: 193.7 kB / 0.6614 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/1.432, allocations: 27.81 kB / 0.6614 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/1.432, allocations: 26.66 kB / 0.6614 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.432, allocations: 7.984 kB / 0.6614 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/1.432, allocations: 3.938 kB / 0.6614 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.432, allocations: 3.984 kB / 0.6615 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/1.433, allocations: 475.9 kB / 0.6619 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.433, allocations: 4 kB / 0.6619 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/1.433, allocations: 35.97 kB / 0.6619 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.433, allocations: 0 / 0.6619 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/1.433, allocations: 8 kB / 0.662 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008667/1.434, allocations: 1.176 MB / 0.6631 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.434, allocations: 0 / 0.6631 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/1.435, allocations: 0.5177 MB / 0.6636 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/1.435, allocations: 35.64 kB / 0.6636 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/1.435, allocations: 8 kB / 0.6636 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.435, allocations: 12.08 kB / 0.6637 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/1.435, allocations: 11.98 kB / 0.6637 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/1.435, allocations: 11.98 kB / 0.6637 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001192/1.435, allocations: 128.2 kB / 0.6638 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.435, allocations: 0 / 0.6638 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000801/1.436, allocations: 191.5 kB / 0.664 GB, free: 11.55 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.001719/1.438, allocations: 1.248 MB / 0.6652 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.439, allocations: 0.5723 MB / 0.6658 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.439, allocations: 0 / 0.6658 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/1.44, allocations: 479.7 kB / 0.6662 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.441, allocations: 196.6 kB / 0.6664 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/1.447, allocations: 3.668 MB / 0.67 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/1.448, allocations: 0.9387 MB / 0.6709 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005414/1.448, allocations: 223.8 kB / 0.6711 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.448, allocations: 275.3 kB / 0.6714 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of SimCode: time 9.41e-07/1.448, allocations: 0 / 0.6714 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05732/1.506, allocations: 19.7 MB / 0.6906 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.58, allocations: 6.297 kB / 0.6906 GB, free: 15.95 MB / 0.5294 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 & /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: 18.800481057958677] Failed to read output from testmodel.py, exit status != 0: 15.932354358024895 15.958908915 14.550794615 Calling exit ...