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.00744/0.00744, allocations: 97.8 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001846, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1067/0.1067, allocations: 2.768 MB / 293.3 MB, free: 3.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.91 kB / 405.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2187, allocations: 50.23 MB / 455.7 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.007202/0.2259, allocations: 9.015 MB / 464.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.2313, allocations: 8.571 MB / 473.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2315, allocations: 1.062 kB / 473.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.2321, allocations: 171.2 kB / 473.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.2324, allocations: 97.38 kB / 473.5 MB, free: 7.719 MB / 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.003417/0.2359, allocations: 1.461 MB / 475 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.2362, allocations: 267.5 kB / 475.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.2363, allocations: 16.53 kB / 475.3 MB, free: 6.723 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.3456/0.5819, allocations: 13 MB / 488.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.5821, allocations: 87.61 kB / 488.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.5822, allocations: 8.25 kB / 488.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.584, allocations: 477.4 kB / 488.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.5841, allocations: 31.7 kB / 488.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.5842, allocations: 90.77 kB / 488.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.5854, allocations: 0.5097 MB / 489.4 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5854, allocations: 1.125 kB / 489.5 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5854, allocations: 0 / 489.5 MB, free: 328 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.5855, allocations: 0 / 489.5 MB, free: 328 kB / 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.0007719/0.5862, allocations: 0.5544 MB / 490 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5863, allocations: 9.344 kB / 490 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.5863, allocations: 49.78 kB / 490.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.5867, allocations: 63.81 kB / 490.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.5869, allocations: 210.9 kB / 490.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.587, allocations: 13.34 kB / 490.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.587, allocations: 11.69 kB / 490.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.5876, allocations: 234.1 kB / 490.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5876, allocations: 4 kB / 490.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.5876, allocations: 5.156 kB / 490.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.5876, allocations: 11.33 kB / 490.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.5882, allocations: 200.1 kB / 490.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.5892, allocations: 0.6871 MB / 491.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.5897, allocations: 232.3 kB / 491.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.59, allocations: 148.8 kB / 491.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.5903, allocations: 331.9 kB / 492.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.5904, allocations: 39.66 kB / 492.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.5904, allocations: 0 / 492.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002844/0.5932, allocations: 1.216 MB / 493.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.5933, allocations: 54.16 kB / 493.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5934, allocations: 129 kB / 493.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.5934, allocations: 31.02 kB / 493.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.5935, allocations: 107.8 kB / 493.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.5937, allocations: 169.6 kB / 493.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.5938, allocations: 58.25 kB / 494 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5939, allocations: 330.4 kB / 494.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.5942, allocations: 124.9 kB / 494.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.5945, allocations: 194 kB / 494.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.5951, allocations: 345.3 kB / 494.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5951, allocations: 4 kB / 495 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001146/0.5962, allocations: 483.5 kB / 495.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5963, allocations: 5.5 kB / 495.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5963, allocations: 1.375 kB / 495.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.597, allocations: 150.2 kB / 495.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.5972, allocations: 30.09 kB / 495.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006942/0.5979, allocations: 0.655 MB / 496.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.598, allocations: 12.17 kB / 496.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.598, allocations: 10.88 kB / 496.3 MB, free: 11.62 MB / 366.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.0001366/0.5982, allocations: 132.9 kB / 496.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.5982, allocations: 24.03 kB / 496.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.58e-05/0.5983, allocations: 23.64 kB / 496.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.5983, allocations: 11.38 kB / 496.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5983, allocations: 0 / 496.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5984, allocations: 5.172 kB / 496.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.5987, allocations: 296 kB / 496.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5987, allocations: 3.938 kB / 496.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.5989, allocations: 32.11 kB / 496.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/0.5993, allocations: 83.03 kB / 496.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5993, allocations: 5.25 kB / 496.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.6008, allocations: 1.56 MB / 498.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6008, allocations: 4.094 kB / 498.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6019, allocations: 0.6991 MB / 499.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.602, allocations: 97.25 kB / 499.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.6021, allocations: 2.156 kB / 499.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6022, allocations: 16.42 kB / 499.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.6023, allocations: 24.5 kB / 499.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.6023, allocations: 9.281 kB / 499.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.6024, allocations: 99.41 kB / 499.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6024, allocations: 0 / 499.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000361/0.6028, allocations: 67.17 kB / 499.5 MB, free: 8.809 MB / 366.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.001663/0.6044, allocations: 1.241 MB / 0.489 GB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008012/0.6053, allocations: 364 kB / 0.4893 GB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6053, allocations: 0 / 0.4893 GB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.6059, allocations: 320.6 kB / 0.4896 GB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.6066, allocations: 99.55 kB / 0.4897 GB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.6111, allocations: 2.925 MB / 0.4926 GB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.6115, allocations: 0.7371 MB / 0.4933 GB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.6117, allocations: 125.3 kB / 0.4934 GB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.6118, allocations: 55.42 kB / 0.4935 GB, free: 3.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6118, allocations: 0 / 0.4935 GB, free: 3.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.6466, allocations: 7.885 MB / 0.5012 GB, free: 11.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.89, allocations: 15.92 kB / 0.5012 GB, free: 11.94 MB / 382.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)