Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.001344/0.001344, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001511/0.001511, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.008/1.008, allocations: 177.1 MB / 203.8 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.008347/0.008347, allocations: 1.985 MB / 262.3 MB, free: 11.13 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 332.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.031e-05, allocations: 5.266 kB / 332.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.0389/0.03893, allocations: 52.23 MB / 384.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.05674, allocations: 29.59 MB / 414.2 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.05723, allocations: 7.938 kB / 414.2 MB, free: 216 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.0585, allocations: 0.5084 MB / 414.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004561/0.06306, allocations: 2.264 MB / 417 MB, free: 13.42 MB / 394.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.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.06893, allocations: 2.986 MB / 420 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.07005, allocations: 0.9746 MB / 420.9 MB, free: 9.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.07015, allocations: 29.95 kB / 421 MB, free: 9.398 MB / 394.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.901/0.9711, allocations: 85.63 MB / 0.4947 GB, free: 43.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.9721, allocations: 241.6 kB / 0.4949 GB, free: 43.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.9722, allocations: 39.66 kB / 0.495 GB, free: 43.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1265/1.099, allocations: 44.13 MB / 0.5381 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/1.099, allocations: 116.8 kB / 0.5382 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/1.099, allocations: 230.4 kB / 0.5384 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003574/1.103, allocations: 1.611 MB / 0.54 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.103, allocations: 0 / 0.54 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.103, allocations: 0 / 0.54 GB, free: 15.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/1.103, allocations: 4 kB / 0.54 GB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001078/1.104, allocations: 1.145 MB / 0.5411 GB, free: 15.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/1.104, allocations: 7.219 kB / 0.5411 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.106, allocations: 1.029 MB / 0.5421 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/1.106, allocations: 287 kB / 0.5424 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/1.106, allocations: 41.97 kB / 0.5424 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/1.106, allocations: 60.62 kB / 0.5425 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/1.107, allocations: 0.7666 MB / 0.5432 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.107, allocations: 0 / 0.5432 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/1.107, allocations: 29.31 kB / 0.5433 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/1.107, allocations: 28.53 kB / 0.5433 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/1.107, allocations: 354.2 kB / 0.5436 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/1.109, allocations: 3.216 MB / 0.5468 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/1.109, allocations: 236.5 kB / 0.547 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.109, allocations: 113.1 kB / 0.5471 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006156/1.11, allocations: 1.043 MB / 0.5481 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.11, allocations: 39.64 kB / 0.5482 GB, free: 11.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 2.594e-06/1.11, allocations: 0 / 0.5482 GB, free: 11.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.0008515/1.111, allocations: 0.5415 MB / 0.5487 GB, free: 11.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/1.111, allocations: 87.2 kB / 0.5488 GB, free: 11.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.111, allocations: 232.5 kB / 0.549 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/1.111, allocations: 29.39 kB / 0.549 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/1.111, allocations: 333.3 kB / 0.5493 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/1.111, allocations: 249.2 kB / 0.5496 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/1.111, allocations: 103.1 kB / 0.5497 GB, free: 10.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/1.111, allocations: 0.5186 MB / 0.5502 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/1.111, allocations: 68.75 kB / 0.5502 GB, free: 10.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/1.111, allocations: 293 kB / 0.5505 GB, free: 10.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/1.112, allocations: 414 kB / 0.5509 GB, free: 9.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.112, allocations: 2.625 kB / 0.5509 GB, free: 9.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003783/1.112, allocations: 422.9 kB / 0.5513 GB, free: 9.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.112, allocations: 6.562 kB / 0.5513 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.112, allocations: 5.719 kB / 0.5513 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.112, allocations: 6.906 kB / 0.5513 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.112, allocations: 68.34 kB / 0.5514 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.112, allocations: 9.25 kB / 0.5514 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/1.112, allocations: 66.31 kB / 0.5515 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.112, allocations: 16.34 kB / 0.5515 GB, free: 9.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.113, allocations: 187.4 kB / 0.5517 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/1.113, allocations: 39.7 kB / 0.5517 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/1.113, allocations: 28.19 kB / 0.5517 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.113, allocations: 3.281 kB / 0.5517 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.113, allocations: 0 / 0.5517 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.113, allocations: 5.031 kB / 0.5517 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/1.113, allocations: 364.9 kB / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.113, allocations: 0 / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/1.113, allocations: 37.05 kB / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/1.113, allocations: 2.656 kB / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.113, allocations: 2.656 kB / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.113, allocations: 2.5 kB / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.113, allocations: 0 / 0.5521 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/1.113, allocations: 0.5647 MB / 0.5527 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/1.113, allocations: 39.62 kB / 0.5527 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/1.113, allocations: 3.75 kB / 0.5527 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/1.113, allocations: 15.41 kB / 0.5527 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/1.114, allocations: 22.19 kB / 0.5528 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/1.114, allocations: 11.81 kB / 0.5528 GB, free: 8.742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/1.114, allocations: 157.8 kB / 0.5529 GB, free: 8.602 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/1.114, allocations: 0 / 0.5529 GB, free: 8.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003793/1.114, allocations: 201.4 kB / 0.5531 GB, free: 8.418 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004476/1.114, allocations: 316.5 kB / 0.5534 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003759/1.115, allocations: 0.4974 MB / 0.5539 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.115, allocations: 0 / 0.5539 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/1.115, allocations: 465.4 kB / 0.5543 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/1.116, allocations: 186.9 kB / 0.5545 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/1.117, allocations: 0.9947 MB / 0.5555 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/1.117, allocations: 168.8 kB / 0.5557 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003345/1.117, allocations: 267.3 kB / 0.5559 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/1.117, allocations: 44.5 kB / 0.556 GB, free: 5.926 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/1.117, allocations: 0 / 0.556 GB, free: 5.926 MB / 410.7 MB Notification: Performance of Templates: time 0.01275/1.13, allocations: 11.17 MB / 0.5669 GB, free: 15.02 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.561372784199193]