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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1291/0.1291, allocations: 2.765 MB / 293.2 MB, free: 3.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 59.91 kB / 354.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 50.23 MB / 404.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01114/0.1135, allocations: 9.013 MB / 413.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.1218, allocations: 8.556 MB / 422.3 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.122, allocations: 7.938 kB / 422.3 MB, free: 336 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.1228, allocations: 159 kB / 422.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1232, allocations: 107.3 kB / 422.6 MB, free: 68 kB / 350.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.1691/0.2923, allocations: 1.448 MB / 424 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.2927, allocations: 269.6 kB / 424.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.2928, allocations: 12.09 kB / 424.3 MB, free: 36.12 MB / 350.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.3004/0.5931, allocations: 12.9 MB / 437.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.5934, allocations: 90.5 kB / 437.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.5934, allocations: 9.719 kB / 437.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.5956, allocations: 474.2 kB / 437.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.5957, allocations: 32.08 kB / 437.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.5959, allocations: 92.88 kB / 437.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.5975, allocations: 0.5031 MB / 438.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5976, allocations: 3.469 kB / 438.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5976, allocations: 0 / 438.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5976, allocations: 0 / 438.4 MB, free: 31.37 MB / 350.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.0008324/0.5984, allocations: 0.5593 MB / 439 MB, free: 30.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5985, allocations: 9.688 kB / 439 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.5985, allocations: 49.02 kB / 439 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.5989, allocations: 55.72 kB / 439.1 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.599, allocations: 208.3 kB / 439.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.5991, allocations: 10.31 kB / 439.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.5991, allocations: 13.97 kB / 439.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.5996, allocations: 242.3 kB / 439.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5996, allocations: 3.219 kB / 439.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.5996, allocations: 3.562 kB / 439.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.5996, allocations: 10.38 kB / 439.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.6001, allocations: 200.6 kB / 439.7 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.6008, allocations: 0.6855 MB / 440.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.6013, allocations: 225.3 kB / 440.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.6016, allocations: 157 kB / 440.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.6018, allocations: 333.4 kB / 441.1 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.6018, allocations: 37.09 kB / 441.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.6019, allocations: 0 / 441.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002568/0.6044, allocations: 1.215 MB / 442.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.6045, allocations: 54.5 kB / 442.4 MB, free: 29.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.6046, allocations: 127 kB / 442.6 MB, free: 29.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.6046, allocations: 25.7 kB / 442.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.6047, allocations: 117.2 kB / 442.7 MB, free: 29.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.6047, allocations: 149.5 kB / 442.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.6048, allocations: 59.58 kB / 442.9 MB, free: 29.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.6049, allocations: 335.2 kB / 443.2 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.6051, allocations: 125.4 kB / 443.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.6054, allocations: 186.5 kB / 443.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.6059, allocations: 348.2 kB / 443.9 MB, free: 28.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6059, allocations: 4 kB / 443.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001008/0.6069, allocations: 480 kB / 444.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6069, allocations: 6.406 kB / 444.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.6069, allocations: 0 / 444.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/0.6076, allocations: 150.1 kB / 444.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.6078, allocations: 33.7 kB / 444.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004827/0.6083, allocations: 0.6554 MB / 445.2 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.6084, allocations: 13.3 kB / 445.2 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.6084, allocations: 9.875 kB / 445.2 MB, free: 27.99 MB / 350.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 9.699e-05/0.6086, allocations: 139.9 kB / 445.3 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.6086, allocations: 17.31 kB / 445.4 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.6087, allocations: 26.22 kB / 445.4 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.6087, allocations: 14.06 kB / 445.4 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6087, allocations: 4 kB / 445.4 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6087, allocations: 6.484 kB / 445.4 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.609, allocations: 293.4 kB / 445.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.609, allocations: 0 / 445.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.6092, allocations: 38.42 kB / 445.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.6095, allocations: 71.52 kB / 445.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.6095, allocations: 10.59 kB / 445.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009698/0.6105, allocations: 1.548 MB / 447.4 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6105, allocations: 3.25 kB / 447.4 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.6115, allocations: 0.6894 MB / 448.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.6115, allocations: 98.89 kB / 448.2 MB, free: 25.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.6116, allocations: 6.812 kB / 448.2 MB, free: 25.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6117, allocations: 6.562 kB / 448.2 MB, free: 25.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.6118, allocations: 26.36 kB / 448.2 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.6118, allocations: 17.25 kB / 448.2 MB, free: 25.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.6119, allocations: 98.5 kB / 448.3 MB, free: 25.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6119, allocations: 0 / 448.3 MB, free: 25.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.6122, allocations: 64.59 kB / 448.4 MB, free: 25.81 MB / 350.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.001297/0.6135, allocations: 1.238 MB / 449.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007642/0.6143, allocations: 380.7 kB / 450 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6143, allocations: 8.312 kB / 450 MB, free: 25.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.6149, allocations: 308.2 kB / 450.3 MB, free: 24.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.6155, allocations: 102 kB / 450.4 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.6192, allocations: 2.895 MB / 453.3 MB, free: 22.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.6194, allocations: 0.7336 MB / 454 MB, free: 22.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.6197, allocations: 118.2 kB / 454.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.6197, allocations: 55.03 kB / 454.2 MB, free: 22.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6197, allocations: 0 / 454.2 MB, free: 22.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/0.6619, allocations: 7.784 MB / 462 MB, free: 21.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.29, allocations: 13.75 kB / 462 MB, free: 21.06 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)