Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001233/0.001233, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01154/0.01154, allocations: 2.779 MB / 293.9 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 355.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2118, allocations: 50.23 MB / 406.1 MB, free: 32.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.007164/0.219, allocations: 8.998 MB / 415.1 MB, free: 23.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004545/0.2235, allocations: 8.573 MB / 423.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.2236, allocations: 0 / 423.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.2241, allocations: 163 kB / 423.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.2244, allocations: 99.28 kB / 423.9 MB, free: 14.89 MB / 302.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.2275, allocations: 1.466 MB / 425.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.2278, allocations: 274.6 kB / 425.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.2279, allocations: 13.69 kB / 425.6 MB, free: 13.14 MB / 302.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.08827/0.3162, allocations: 12.84 MB / 438.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3164, allocations: 79.62 kB / 438.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3164, allocations: 8 kB / 438.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.318, allocations: 479.9 kB / 439 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.3181, allocations: 27.91 kB / 439.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.3182, allocations: 99.47 kB / 439.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009901/0.3192, allocations: 0.5027 MB / 439.7 MB, free: 328 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3192, allocations: 0 / 439.7 MB, free: 328 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3192, allocations: 0 / 439.7 MB, free: 328 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3192, allocations: 0 / 439.7 MB, free: 328 kB / 302.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.0008168/0.32, allocations: 0.5612 MB / 440.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3201, allocations: 8.031 kB / 440.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.3204, allocations: 56.7 kB / 440.3 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3207, allocations: 208.1 kB / 440.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3207, allocations: 8.375 kB / 440.5 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.3207, allocations: 15.94 kB / 440.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.3212, allocations: 239.1 kB / 440.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3213, allocations: 0 / 440.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3213, allocations: 11.94 kB / 440.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3213, allocations: 11.98 kB / 440.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.3218, allocations: 200.2 kB / 441 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.3225, allocations: 0.6707 MB / 441.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.323, allocations: 234.3 kB / 441.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.3233, allocations: 160.7 kB / 442 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.3235, allocations: 327.2 kB / 442.4 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3236, allocations: 30.56 kB / 442.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.3236, allocations: 4 kB / 442.4 MB, free: 13.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.00261/0.3262, allocations: 1.21 MB / 443.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3262, allocations: 55.41 kB / 443.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.3263, allocations: 129.8 kB / 443.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3264, allocations: 29.7 kB / 443.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.3264, allocations: 108.8 kB / 443.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.986e-05/0.3265, allocations: 157.7 kB / 444.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.3266, allocations: 65.56 kB / 444.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.3267, allocations: 334.8 kB / 444.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/0.3273, allocations: 128.5 kB / 444.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3276, allocations: 190 kB / 444.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.3281, allocations: 344.5 kB / 445.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3281, allocations: 0 / 445.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001047/0.3292, allocations: 486.4 kB / 445.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3292, allocations: 8 kB / 445.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3292, allocations: 0 / 445.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.3299, allocations: 148.9 kB / 445.7 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3301, allocations: 31.92 kB / 445.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000559/0.3306, allocations: 0.6537 MB / 446.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.3308, allocations: 8 kB / 446.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.3308, allocations: 12.03 kB / 446.4 MB, free: 9.137 MB / 318.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.0001153/0.331, allocations: 133.8 kB / 446.6 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.331, allocations: 19.81 kB / 446.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.3311, allocations: 30.22 kB / 446.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3311, allocations: 11.98 kB / 446.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3311, allocations: 4 kB / 446.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3311, allocations: 0 / 446.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3314, allocations: 286.4 kB / 446.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3314, allocations: 0 / 446.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.3316, allocations: 43.97 kB / 447 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.332, allocations: 68.69 kB / 447 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.332, allocations: 11.92 kB / 447 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.3332, allocations: 1.548 MB / 448.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3332, allocations: 96 / 448.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3342, allocations: 0.7052 MB / 449.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.3343, allocations: 96.86 kB / 449.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3343, allocations: 7.938 kB / 449.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3345, allocations: 12.05 kB / 449.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.3346, allocations: 27.91 kB / 449.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3346, allocations: 8 kB / 449.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.3347, allocations: 95.27 kB / 449.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3347, allocations: 3.938 kB / 449.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.335, allocations: 64 kB / 449.6 MB, free: 5.715 MB / 318.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.0003112/0.3354, allocations: 181.5 kB / 449.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007462/0.3361, allocations: 357 kB / 450.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3361, allocations: 8.312 kB / 450.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005801/0.3367, allocations: 313.9 kB / 450.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.3373, allocations: 91.77 kB / 450.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3384, allocations: 0.6712 MB / 451.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3387, allocations: 0.7371 MB / 451.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.3389, allocations: 105.4 kB / 452 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.339, allocations: 19.44 kB / 452.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.339, allocations: 0 / 452.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of Templates: time 0.009713/0.3487, allocations: 5.195 MB / 457.3 MB, free: 14.03 MB / 334.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1)