Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.001789/0.001789, allocations: 115.6 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.002116/0.002116, allocations: 215 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.01188/0.01188, allocations: 2.794 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.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",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.001991/0.001991, allocations: 67.53 kB / 434.3 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08984, allocations: 54.13 MB / 488.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.008489/0.09833, allocations: 9.097 MB / 497.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.1038, allocations: 8.593 MB / 0.4942 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.1039, allocations: 4 kB / 0.4942 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.1044, allocations: 159 kB / 0.4944 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1047, allocations: 111.2 kB / 0.4945 GB, free: 14.41 MB / 366.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.1079, allocations: 1.448 MB / 0.4959 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.1083, allocations: 266.7 kB / 0.4961 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.1083, allocations: 13.69 kB / 0.4962 GB, free: 12.68 MB / 366.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.3846/0.4929, allocations: 13.06 MB / 0.5089 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.4932, allocations: 91.55 kB / 0.509 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.4932, allocations: 8 kB / 0.509 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.4951, allocations: 479.8 kB / 0.5095 GB, free: 172 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.4952, allocations: 31.84 kB / 0.5095 GB, free: 140 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.4953, allocations: 83.59 kB / 0.5096 GB, free: 56 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.4967, allocations: 0.5102 MB / 0.5101 GB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4967, allocations: 0 / 0.5101 GB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4967, allocations: 0 / 0.5101 GB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4967, allocations: 0 / 0.5101 GB, free: 15.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009365/0.4976, allocations: 0.5643 MB / 0.5106 GB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4977, allocations: 11.98 kB / 0.5106 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.4977, allocations: 4.188 kB / 0.5106 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.4977, allocations: 50.73 kB / 0.5107 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.4981, allocations: 52.8 kB / 0.5107 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4983, allocations: 212 kB / 0.5109 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.4984, allocations: 15.94 kB / 0.511 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.4984, allocations: 8 kB / 0.511 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.499, allocations: 249.6 kB / 0.5112 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.499, allocations: 0 / 0.5112 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.499, allocations: 4 kB / 0.5112 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.499, allocations: 11.98 kB / 0.5112 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.4995, allocations: 200.2 kB / 0.5114 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.5004, allocations: 0.6862 MB / 0.5121 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.501, allocations: 206.4 kB / 0.5123 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.5012, allocations: 136.8 kB / 0.5124 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.5016, allocations: 323.2 kB / 0.5127 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.5016, allocations: 34.56 kB / 0.5127 GB, free: 12.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.333e-06/0.5016, allocations: 0 / 0.5127 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.00302/0.5046, allocations: 1.222 MB / 0.5139 GB, free: 11.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.5047, allocations: 59.41 kB / 0.514 GB, free: 11.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.5048, allocations: 129.8 kB / 0.5141 GB, free: 11.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.5048, allocations: 25.7 kB / 0.5141 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.5049, allocations: 116.9 kB / 0.5143 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.505, allocations: 158.6 kB / 0.5144 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5051, allocations: 61.69 kB / 0.5145 GB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5053, allocations: 330.8 kB / 0.5148 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.5056, allocations: 128.5 kB / 0.5149 GB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.5059, allocations: 189.2 kB / 0.5151 GB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.5064, allocations: 344.8 kB / 0.5154 GB, free: 9.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5065, allocations: 0 / 0.5154 GB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001164/0.5076, allocations: 473.8 kB / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5076, allocations: 8 kB / 0.5159 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5076, allocations: 4.188 kB / 0.5159 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.5084, allocations: 148.6 kB / 0.516 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.5085, allocations: 35.98 kB / 0.5161 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006864/0.5092, allocations: 0.6537 MB / 0.5167 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.5094, allocations: 16.03 kB / 0.5167 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.5094, allocations: 8 kB / 0.5167 GB, free: 8.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.5095, allocations: 140.8 kB / 0.5168 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.5096, allocations: 23.8 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.5097, allocations: 22.27 kB / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5097, allocations: 8 kB / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5097, allocations: 0 / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5097, allocations: 3.984 kB / 0.5169 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.5101, allocations: 294.4 kB / 0.5172 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5101, allocations: 3.984 kB / 0.5172 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.5103, allocations: 35.92 kB / 0.5172 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/0.5106, allocations: 72.7 kB / 0.5173 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.5107, allocations: 8 kB / 0.5173 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.5121, allocations: 1.561 MB / 0.5188 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5121, allocations: 0 / 0.5188 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.5134, allocations: 0.6974 MB / 0.5195 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.5135, allocations: 93 kB / 0.5196 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.5135, allocations: 8 kB / 0.5196 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5136, allocations: 11.98 kB / 0.5196 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.5137, allocations: 19.91 kB / 0.5196 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.5137, allocations: 8 kB / 0.5196 GB, free: 5.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.813e-05/0.5138, allocations: 95.27 kB / 0.5197 GB, free: 4.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5138, allocations: 4.062 kB / 0.5197 GB, free: 4.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.5142, allocations: 67.98 kB / 0.5198 GB, free: 4.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/0.516, allocations: 1.256 MB / 0.521 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000837/0.5168, allocations: 327.6 kB / 0.5213 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5168, allocations: 0 / 0.5213 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006766/0.5175, allocations: 298.9 kB / 0.5216 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.5181, allocations: 98.44 kB / 0.5217 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/0.5229, allocations: 2.917 MB / 0.5246 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5234, allocations: 0.7409 MB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.5236, allocations: 117.4 kB / 0.5254 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5238, allocations: 55.36 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5238, allocations: 0 / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.5562, allocations: 7.98 MB / 0.5332 GB, free: 6.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.05, allocations: 4.562 kB / 0.5333 GB, free: 6.977 MB / 398.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --stepSize=0.1 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.708934994996525] Failed to read output from testmodel.py, exit status != 0: 13.413723092991859 13.42965867 12.929894954 Calling exit ...