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.0008771/0.0008771, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0037/0.004577, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009207/0.0009207, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.0022, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8776/0.8776, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07536/0.9529, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.009218/0.009218, allocations: 1.993 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008067/0.01729, allocations: 1.227 MB / 247.4 MB, free: 11.54 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.342e-06/1.342e-06, allocations: 0 / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.514e-05, allocations: 6.312 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01727/0.01728, allocations: 9.236 MB / 257.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.02219, allocations: 8.595 MB / 266.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.02227, allocations: 0 / 266.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.02259, allocations: 135.1 kB / 266.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.02277, allocations: 111.1 kB / 266.8 MB, free: 8.051 MB / 266.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.00297/0.02574, allocations: 1.548 MB / 268.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.02599, allocations: 290.6 kB / 268.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.02602, allocations: 18.42 kB / 268.6 MB, free: 6.195 MB / 266.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.6121/0.6381, allocations: 21.47 MB / 290.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.6383, allocations: 66.69 kB / 290.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.6383, allocations: 11.03 kB / 290.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.6395, allocations: 487 kB / 290.6 MB, free: 4.406 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.6396, allocations: 23.36 kB / 290.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.6397, allocations: 51.67 kB / 290.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.6404, allocations: 456.9 kB / 291.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.6404, allocations: 0 / 291.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6404, allocations: 0 / 291.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.6405, allocations: 6.031 kB / 291.2 MB, free: 4.402 MB / 266.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.0006778/0.6411, allocations: 0.5951 MB / 291.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6412, allocations: 13.09 kB / 291.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.6414, allocations: 98.11 kB / 291.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.6416, allocations: 144.2 kB / 292 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6416, allocations: 9.438 kB / 292 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.6416, allocations: 13.67 kB / 292 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.6419, allocations: 241.9 kB / 292.3 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6419, allocations: 4 kB / 292.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.6419, allocations: 9.141 kB / 292.3 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.6419, allocations: 13.25 kB / 292.3 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.6421, allocations: 88.59 kB / 292.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.6425, allocations: 492.7 kB / 292.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.6427, allocations: 168.4 kB / 293 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.6428, allocations: 53.69 kB / 293.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.6429, allocations: 102.6 kB / 293.2 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.6429, allocations: 41.03 kB / 293.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.6429, allocations: 0 / 293.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001288/0.6442, allocations: 0.8106 MB / 294 MB, free: 3.008 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.554e-05/0.6442, allocations: 57.56 kB / 294.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.6443, allocations: 133.7 kB / 294.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6443, allocations: 32.72 kB / 294.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.6443, allocations: 106.2 kB / 294.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.6444, allocations: 166.4 kB / 294.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.6445, allocations: 59.77 kB / 294.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.6445, allocations: 331 kB / 294.9 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.6445, allocations: 45.17 kB / 294.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.6446, allocations: 107.6 kB / 295 MB, free: 2.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.6447, allocations: 188.5 kB / 295.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.6447, allocations: 0 / 295.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000347/0.6451, allocations: 290.6 kB / 295.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.6451, allocations: 7.062 kB / 295.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6451, allocations: 8.047 kB / 295.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.6454, allocations: 121 kB / 295.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.6455, allocations: 35.98 kB / 295.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002303/0.6457, allocations: 0.6021 MB / 296.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.6458, allocations: 9.906 kB / 296.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.6458, allocations: 7.719 kB / 296.3 MB, free: 1.527 MB / 266.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 5.732e-05/0.6458, allocations: 127.8 kB / 296.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.6458, allocations: 19.45 kB / 296.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.6459, allocations: 18.69 kB / 296.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.6459, allocations: 12.23 kB / 296.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6459, allocations: 4 kB / 296.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6459, allocations: 1.5 kB / 296.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.646, allocations: 133.9 kB / 296.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.646, allocations: 4.797 kB / 296.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6461, allocations: 49.98 kB / 296.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.6462, allocations: 11.28 kB / 296.7 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.6464, allocations: 101.1 kB / 296.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.6464, allocations: 1.406 kB / 296.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/0.6465, allocations: 0.5217 MB / 297.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6465, allocations: 0 / 297.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.6468, allocations: 428.6 kB / 297.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.6468, allocations: 0 / 297.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.6469, allocations: 13.69 kB / 297.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.6469, allocations: 24.28 kB / 297.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6469, allocations: 2.891 kB / 297.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.738e-05/0.6469, allocations: 27.3 kB / 297.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6469, allocations: 0 / 297.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.6471, allocations: 65.25 kB / 297.8 MB, free: 0.5586 MB / 266.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002918/0.6474, allocations: 188 kB / 298 MB, free: 460 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.6476, allocations: 190.3 kB / 298.2 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.6476, allocations: 4.344 kB / 298.2 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6478, allocations: 131.9 kB / 298.3 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.6481, allocations: 224 kB / 298.6 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.6509, allocations: 0.4893 MB / 299 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.6509, allocations: 85.39 kB / 299.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.6511, allocations: 97.64 kB / 299.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.6512, allocations: 120.7 kB / 299.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6512, allocations: 0 / 299.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Templates: time 0.006887/0.6581, allocations: 6.24 MB / 305.6 MB, free: 13.12 MB / 282.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.164438597857952]