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.00147/0.00147, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001718/0.001718, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.01204/0.01204, allocations: 2.787 MB / 312.3 MB, free: 2.34 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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",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.001998/0.001998, allocations: 65.94 kB / 434.2 MB, free: 39.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.1004, allocations: 54.13 MB / 488.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.05437/0.1548, allocations: 51.08 MB / 0.5268 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03121/0.186, allocations: 29.16 MB / 0.5553 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.1868, allocations: 4 kB / 0.5553 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.1889, allocations: 0.6176 MB / 0.5559 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007246/0.1961, allocations: 2.254 MB / 0.5581 GB, free: 12.99 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.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.009661/0.2058, allocations: 2.933 MB / 0.561 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2077, allocations: 0.9326 MB / 0.5619 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2079, allocations: 21.78 kB / 0.5619 GB, free: 9.074 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.9254/1.133, allocations: 51.84 MB / 0.6125 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/1.134, allocations: 312.7 kB / 0.6128 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/1.134, allocations: 40.31 kB / 0.6129 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2273/1.361, allocations: 27.33 MB / 0.6395 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002863/1.362, allocations: 109.5 kB / 0.6397 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005843/1.362, allocations: 344.7 kB / 0.64 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006785/1.369, allocations: 1.866 MB / 0.6418 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.369, allocations: 0 / 0.6418 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/1.369, allocations: 4 kB / 0.6418 GB, free: 6.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/1.369, allocations: 0 / 0.6418 GB, free: 6.738 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.001773/1.371, allocations: 1.123 MB / 0.6429 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.371, allocations: 11.98 kB / 0.6429 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.53e-05/1.371, allocations: 17.5 kB / 0.6429 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/1.371, allocations: 120.9 kB / 0.643 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/1.374, allocations: 0.5026 MB / 0.6435 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/1.378, allocations: 346.9 kB / 0.6439 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/1.379, allocations: 45.06 kB / 0.6439 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/1.379, allocations: 57.62 kB / 0.644 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.381, allocations: 0.8661 MB / 0.6448 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/1.381, allocations: 2.906 kB / 0.6448 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/1.381, allocations: 29.44 kB / 0.6448 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/1.381, allocations: 34.59 kB / 0.6449 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.383, allocations: 0.704 MB / 0.6456 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/1.387, allocations: 5.119 MB / 0.6506 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.389, allocations: 278.4 kB / 0.6508 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/1.389, allocations: 164.1 kB / 0.651 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002358/1.391, allocations: 1.538 MB / 0.6525 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/1.391, allocations: 45.02 kB / 0.6525 GB, free: 12.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 2.485e-06/1.391, allocations: 0 / 0.6525 GB, free: 12.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.002612/1.394, allocations: 0.6057 MB / 0.6531 GB, free: 12.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/1.394, allocations: 77.11 kB / 0.6532 GB, free: 12.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/1.394, allocations: 185.6 kB / 0.6534 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/1.394, allocations: 31.33 kB / 0.6534 GB, free: 12.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/1.395, allocations: 300.8 kB / 0.6537 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/1.395, allocations: 238.2 kB / 0.6539 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.395, allocations: 97.16 kB / 0.654 GB, free: 11.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003085/1.396, allocations: 342.2 kB / 0.6543 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/1.396, allocations: 121.5 kB / 0.6544 GB, free: 11.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/1.396, allocations: 298.2 kB / 0.6547 GB, free: 10.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009904/1.397, allocations: 481.9 kB / 0.6552 GB, free: 10.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.397, allocations: 4 kB / 0.6552 GB, free: 10.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001246/1.399, allocations: 490.2 kB / 0.6557 GB, free: 10.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.399, allocations: 11.94 kB / 0.6557 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.399, allocations: 8 kB / 0.6557 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.399, allocations: 8 kB / 0.6557 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/1.399, allocations: 84.45 kB / 0.6558 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/1.4, allocations: 1.179 MB / 0.6569 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/1.401, allocations: 59.06 kB / 0.657 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/1.401, allocations: 23.44 kB / 0.657 GB, free: 8.758 MB / 462.1 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.0003442/1.401, allocations: 197 kB / 0.6572 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.401, allocations: 31.77 kB / 0.6572 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/1.401, allocations: 30.89 kB / 0.6572 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.401, allocations: 7.938 kB / 0.6573 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.401, allocations: 192 / 0.6573 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.401, allocations: 0 / 0.6573 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/1.402, allocations: 0.5105 MB / 0.6578 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.402, allocations: 3.188 kB / 0.6578 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/1.403, allocations: 35.67 kB / 0.6578 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.403, allocations: 0 / 0.6578 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/1.403, allocations: 15.11 kB / 0.6578 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009662/1.404, allocations: 1.164 MB / 0.6589 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.404, allocations: 0 / 0.6589 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.405, allocations: 0.5181 MB / 0.6595 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.405, allocations: 112.8 kB / 0.6596 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/1.405, allocations: 4 kB / 0.6596 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/1.405, allocations: 7.812 kB / 0.6596 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/1.405, allocations: 15.11 kB / 0.6596 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/1.405, allocations: 11.92 kB / 0.6596 GB, free: 6.309 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001676/1.406, allocations: 125.2 kB / 0.6597 GB, free: 6.199 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.406, allocations: 0 / 0.6597 GB, free: 6.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001235/1.407, allocations: 199.4 kB / 0.6599 GB, free: 6.016 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: 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.002177/1.409, allocations: 1.244 MB / 0.6611 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/1.41, allocations: 0.5641 MB / 0.6617 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.41, allocations: 0 / 0.6617 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009443/1.411, allocations: 489.4 kB / 0.6621 GB, free: 3.984 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.413, allocations: 196.4 kB / 0.6623 GB, free: 3.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/1.42, allocations: 3.669 MB / 0.6659 GB, free: 460 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009582/1.421, allocations: 0.9465 MB / 0.6668 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007245/1.422, allocations: 218.8 kB / 0.667 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/1.422, allocations: 274 kB / 0.6673 GB, free: 15.19 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/1.422, allocations: 4 kB / 0.6673 GB, free: 15.19 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05754/1.48, allocations: 18.59 MB / 0.6855 GB, free: 12.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.5, allocations: 4 kB / 0.6855 GB, free: 12.73 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.76953897299245] Failed to read output from testmodel.py, exit status != 0: 14.87567586399382 14.893635941 13.521014896 Calling exit ...