Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.001392/0.001392, allocations: 109.2 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.001856/0.001856, allocations: 215.9 kB / 22.25 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.004 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.01311/0.01311, allocations: 2.805 MB / 315.2 MB, free: 320 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.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",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.002053/0.002053, allocations: 71.89 kB / 438.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 54.18 MB / 492.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2563/0.3631, allocations: 51.31 MB / 0.5314 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02895/0.3921, allocations: 29.21 MB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.3928, allocations: 4.438 kB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.3947, allocations: 0.6153 MB / 0.5606 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.4017, allocations: 2.252 MB / 0.5628 GB, free: 2.613 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009152/0.4108, allocations: 2.936 MB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4124, allocations: 0.9329 MB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4125, allocations: 25.31 kB / 0.5666 GB, free: 15.67 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.706/1.118, allocations: 51.98 MB / 0.6173 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007341/1.119, allocations: 310.6 kB / 0.6176 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/1.119, allocations: 44 kB / 0.6177 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2382/1.357, allocations: 27.41 MB / 0.6444 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/1.358, allocations: 111.5 kB / 0.6446 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007111/1.358, allocations: 338.4 kB / 0.6449 GB, free: 396 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009089/1.368, allocations: 1.862 MB / 0.6467 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.368, allocations: 3.984 kB / 0.6467 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.385e-06/1.368, allocations: 0 / 0.6467 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.048e-05/1.368, allocations: 4 kB / 0.6467 GB, free: 14.51 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.002028/1.37, allocations: 1.053 MB / 0.6477 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.37, allocations: 8.031 kB / 0.6477 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/1.37, allocations: 119 kB / 0.6478 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/1.372, allocations: 0.5 MB / 0.6483 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/1.375, allocations: 277.6 kB / 0.6486 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/1.375, allocations: 45.88 kB / 0.6486 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/1.376, allocations: 59.94 kB / 0.6487 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.377, allocations: 0.8805 MB / 0.6496 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.377, allocations: 0 / 0.6496 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/1.377, allocations: 28 kB / 0.6496 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/1.377, allocations: 31.97 kB / 0.6496 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/1.379, allocations: 0.7201 MB / 0.6503 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/1.384, allocations: 4.974 MB / 0.6552 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/1.384, allocations: 261.1 kB / 0.6554 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/1.385, allocations: 157.7 kB / 0.6556 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/1.386, allocations: 0.9078 MB / 0.6565 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.386, allocations: 34.55 kB / 0.6565 GB, free: 3.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.913e-06/1.386, allocations: 0 / 0.6565 GB, free: 3.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001599/1.387, allocations: 0.6012 MB / 0.6571 GB, free: 3.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.388, allocations: 81.11 kB / 0.6572 GB, free: 3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/1.388, allocations: 186.5 kB / 0.6573 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/1.388, allocations: 29.7 kB / 0.6574 GB, free: 2.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/1.388, allocations: 296.3 kB / 0.6577 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/1.388, allocations: 241.8 kB / 0.6579 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.389, allocations: 102 kB / 0.658 GB, free: 2.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/1.389, allocations: 342.8 kB / 0.6583 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/1.389, allocations: 113.3 kB / 0.6584 GB, free: 1.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/1.389, allocations: 308 kB / 0.6587 GB, free: 1.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/1.39, allocations: 484.8 kB / 0.6592 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.39, allocations: 0 / 0.6592 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008486/1.391, allocations: 488.8 kB / 0.6596 GB, free: 268 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.391, allocations: 15.92 kB / 0.6597 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.391, allocations: 4 kB / 0.6597 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.391, allocations: 8 kB / 0.6597 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/1.391, allocations: 67.84 kB / 0.6597 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.391, allocations: 8 kB / 0.6597 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/1.391, allocations: 67.5 kB / 0.6598 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.462e-05/1.391, allocations: 16 kB / 0.6598 GB, free: 80 kB / 494.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): 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.0002844/1.392, allocations: 209.7 kB / 0.66 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/1.392, allocations: 31.75 kB / 0.66 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/1.392, allocations: 30.64 kB / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.392, allocations: 0 / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.392, allocations: 7.938 kB / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.392, allocations: 0 / 0.6601 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/1.393, allocations: 471.9 kB / 0.6605 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.393, allocations: 0 / 0.6605 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.393, allocations: 23.98 kB / 0.6606 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.393, allocations: 3.938 kB / 0.6606 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.393, allocations: 12 kB / 0.6606 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/1.393, allocations: 7.938 kB / 0.6606 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.393, allocations: 0 / 0.6606 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/1.394, allocations: 0.5023 MB / 0.6611 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/1.394, allocations: 31.69 kB / 0.6611 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/1.394, allocations: 15.94 kB / 0.6611 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/1.394, allocations: 4 kB / 0.6611 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/1.394, allocations: 19.97 kB / 0.6611 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/1.394, allocations: 4 kB / 0.6611 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001047/1.394, allocations: 120.2 kB / 0.6613 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/1.394, allocations: 0 / 0.6613 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007068/1.395, allocations: 203.4 kB / 0.6615 GB, free: 14.33 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): 13 * 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.001508/1.396, allocations: 1.244 MB / 0.6627 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008527/1.397, allocations: 0.5527 MB / 0.6632 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.397, allocations: 0 / 0.6632 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005097/1.398, allocations: 459.9 kB / 0.6636 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.399, allocations: 194.1 kB / 0.6638 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/1.404, allocations: 3.642 MB / 0.6674 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/1.404, allocations: 0.9386 MB / 0.6683 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005577/1.405, allocations: 261.9 kB / 0.6686 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/1.405, allocations: 271.3 kB / 0.6688 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/1.405, allocations: 0 / 0.6688 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05918/1.465, allocations: 19.37 MB / 0.6877 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.99, allocations: 15.81 kB / 0.6877 GB, free: 3.09 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.174195870989934] Failed to read output from testmodel.py, exit status != 0: 14.332181839970872 14.360895703 12.988005 Calling exit ...