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.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.001314/0.001314, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001125/0.001125, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9679/0.9679, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008538/0.008538, allocations: 1.987 MB / 261.9 MB, free: 11.06 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.63e-05, allocations: 2.312 kB / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.006311/0.006337, allocations: 9.218 MB / 341.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.0107, allocations: 8.611 MB / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.01084, allocations: 4 kB / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.0113, allocations: 143 kB / 350.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.01162, allocations: 107.2 kB / 350.4 MB, free: 14.75 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.01499, allocations: 1.498 MB / 351.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.01535, allocations: 294.5 kB / 352.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.543e-05/0.01539, allocations: 9.812 kB / 352.2 MB, free: 12.95 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.5184/0.5338, allocations: 21.41 MB / 373.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.534, allocations: 63.81 kB / 373.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.534, allocations: 8 kB / 373.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.5355, allocations: 479.6 kB / 374.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.5356, allocations: 35.83 kB / 374.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5358, allocations: 63.84 kB / 374.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.5372, allocations: 482.7 kB / 374.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.5372, allocations: 4 kB / 374.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5372, allocations: 0 / 374.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.5372, allocations: 3.938 kB / 374.8 MB, free: 8.492 MB / 298.7 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.0009159/0.5381, allocations: 0.581 MB / 375.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5381, allocations: 8.031 kB / 375.4 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.5385, allocations: 92.56 kB / 375.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.5387, allocations: 148.3 kB / 375.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5387, allocations: 12.38 kB / 375.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.5388, allocations: 20.36 kB / 375.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.5392, allocations: 260.5 kB / 375.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5392, allocations: 0 / 375.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.5392, allocations: 0 / 375.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.5392, allocations: 11.98 kB / 375.9 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.5394, allocations: 108.9 kB / 376 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.5402, allocations: 0.6949 MB / 376.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.5405, allocations: 135 kB / 376.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.5405, allocations: 67.66 kB / 376.9 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.5407, allocations: 95.94 kB / 377 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5407, allocations: 49.31 kB / 377 MB, free: 6.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.322e-06/0.5407, allocations: 0 / 377 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001578/0.5423, allocations: 0.893 MB / 377.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.5423, allocations: 55.41 kB / 378 MB, free: 5.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5424, allocations: 197.8 kB / 378.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.5425, allocations: 29.7 kB / 378.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.5425, allocations: 155.7 kB / 378.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.5426, allocations: 162.6 kB / 378.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.5427, allocations: 67.34 kB / 378.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5429, allocations: 0.504 MB / 379.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.5429, allocations: 60.41 kB / 379.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.5431, allocations: 140.8 kB / 379.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.5433, allocations: 225.7 kB / 379.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5433, allocations: 0 / 379.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005752/0.5438, allocations: 369.8 kB / 379.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.5439, allocations: 8 kB / 379.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5439, allocations: 0 / 379.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.5443, allocations: 135.7 kB / 380 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.5444, allocations: 27.98 kB / 380 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/0.5449, allocations: 0.8858 MB / 380.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-05/0.545, allocations: 15.92 kB / 380.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.545, allocations: 8 kB / 380.9 MB, free: 1.945 MB / 298.7 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.000119/0.5451, allocations: 172.5 kB / 381.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.5452, allocations: 27.91 kB / 381.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.5452, allocations: 26.27 kB / 381.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.5453, allocations: 11.98 kB / 381.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5453, allocations: 0 / 381.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5453, allocations: 3.938 kB / 381.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.5455, allocations: 197.3 kB / 381.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5455, allocations: 4 kB / 381.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.5456, allocations: 35.92 kB / 381.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.5458, allocations: 67.59 kB / 381.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5458, allocations: 8 kB / 381.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.5471, allocations: 1.893 MB / 383.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5471, allocations: 0 / 383.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.5476, allocations: 0.5383 MB / 383.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.5477, allocations: 27.8 kB / 383.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.5477, allocations: 4 kB / 383.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.5478, allocations: 8 kB / 383.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.5478, allocations: 27.89 kB / 384 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5478, allocations: 7.984 kB / 384 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.5479, allocations: 139.2 kB / 384.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5479, allocations: 0 / 384.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.5482, allocations: 71.97 kB / 384.2 MB, free: 14.47 MB / 314.7 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.0004007/0.5486, allocations: 172.6 kB / 384.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.549, allocations: 224.4 kB / 384.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.549, allocations: 4 kB / 384.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.5493, allocations: 303.4 kB / 384.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.5498, allocations: 107.8 kB / 385 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5508, allocations: 0.54 MB / 385.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.5509, allocations: 89.31 kB / 385.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.551, allocations: 101.2 kB / 385.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.551, allocations: 20.5 kB / 385.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.551, allocations: 0 / 385.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Templates: time 0.008023/0.5591, allocations: 6.264 MB / 392 MB, free: 6.582 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.127964718267322]