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.001402/0.001402, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001723/0.001723, allocations: 216.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01243/0.01243, allocations: 2.807 MB / 316 MB, free: 64 kB / 238.1 MB " [Timeout remaining time 180] 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.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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00335/0.00335, allocations: 63.89 kB / 439.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1294, allocations: 54.19 MB / 494.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2717/0.4011, allocations: 45.37 MB / 0.5268 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.027/0.4281, allocations: 25.15 MB / 0.5514 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.4288, allocations: 2.656 kB / 0.5514 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.4305, allocations: 0.4928 MB / 0.5519 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.4369, allocations: 2.184 MB / 0.554 GB, free: 10.68 MB / 398.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.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.0.0/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.008895/0.4458, allocations: 2.898 MB / 0.5568 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.4472, allocations: 0.9298 MB / 0.5577 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.4473, allocations: 29.31 kB / 0.5578 GB, free: 7.777 MB / 398.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.4534/0.9006, allocations: 51.34 MB / 0.6079 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.9015, allocations: 290.6 kB / 0.6082 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.9016, allocations: 44 kB / 0.6082 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2252/1.127, allocations: 27.06 MB / 0.6346 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/1.127, allocations: 111.5 kB / 0.6347 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/1.128, allocations: 274.8 kB / 0.635 GB, free: 9.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007829/1.135, allocations: 1.862 MB / 0.6368 GB, free: 8.113 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.135, allocations: 4 kB / 0.6368 GB, free: 8.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/1.135, allocations: 0 / 0.6368 GB, free: 8.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/1.135, allocations: 0 / 0.6368 GB, free: 8.109 MB / 478.1 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.001727/1.137, allocations: 1.045 MB / 0.6378 GB, free: 7.031 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.137, allocations: 8.031 kB / 0.6379 GB, free: 7.023 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.139, allocations: 0.5 MB / 0.6383 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/1.142, allocations: 281.7 kB / 0.6386 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/1.142, allocations: 46.06 kB / 0.6387 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/1.142, allocations: 52 kB / 0.6387 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.144, allocations: 0.9847 MB / 0.6397 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.144, allocations: 3.938 kB / 0.6397 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/1.144, allocations: 32 kB / 0.6397 GB, free: 5.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/1.144, allocations: 35.98 kB / 0.6397 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/1.146, allocations: 0.7123 MB / 0.6404 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/1.149, allocations: 2.628 MB / 0.643 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/1.15, allocations: 281.1 kB / 0.6433 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/1.15, allocations: 169.4 kB / 0.6434 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.152, allocations: 0.8808 MB / 0.6443 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.152, allocations: 38.5 kB / 0.6443 GB, free: 168 kB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.154e-06/1.152, allocations: 0 / 0.6443 GB, free: 168 kB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.001785/1.154, allocations: 0.6242 MB / 0.6449 GB, free: 15.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/1.154, allocations: 85.09 kB / 0.645 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/1.154, allocations: 178 kB / 0.6452 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.154, allocations: 29.7 kB / 0.6452 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/1.154, allocations: 292.5 kB / 0.6455 GB, free: 14.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.154, allocations: 245.8 kB / 0.6457 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.154, allocations: 97.95 kB / 0.6458 GB, free: 14.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/1.155, allocations: 342.8 kB / 0.6461 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/1.155, allocations: 125.3 kB / 0.6463 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/1.155, allocations: 289.3 kB / 0.6465 GB, free: 13.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/1.156, allocations: 477.5 kB / 0.647 GB, free: 13.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.156, allocations: 4.188 kB / 0.647 GB, free: 13.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000938/1.157, allocations: 480.2 kB / 0.6475 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.157, allocations: 8 kB / 0.6475 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.157, allocations: 7.984 kB / 0.6475 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.157, allocations: 11.94 kB / 0.6475 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/1.157, allocations: 71.84 kB / 0.6476 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.157, allocations: 8.562 kB / 0.6476 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/1.158, allocations: 63.5 kB / 0.6476 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/1.158, allocations: 20 kB / 0.6476 GB, free: 12.56 MB / 494.1 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.0002812/1.158, allocations: 193.7 kB / 0.6478 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/1.158, allocations: 31.8 kB / 0.6479 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/1.158, allocations: 25.97 kB / 0.6479 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.158, allocations: 7.938 kB / 0.6479 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.158, allocations: 3.938 kB / 0.6479 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.158, allocations: 0 / 0.6479 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/1.159, allocations: 340.7 kB / 0.6482 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.159, allocations: 4 kB / 0.6482 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/1.159, allocations: 35.92 kB / 0.6483 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.159, allocations: 0 / 0.6483 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/1.159, allocations: 11.98 kB / 0.6483 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.159, allocations: 4 kB / 0.6483 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.159, allocations: 3.938 kB / 0.6483 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/1.16, allocations: 0.5216 MB / 0.6488 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/1.16, allocations: 35.64 kB / 0.6488 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/1.16, allocations: 15.98 kB / 0.6488 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/1.16, allocations: 4 kB / 0.6488 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/1.16, allocations: 31.83 kB / 0.6489 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/1.16, allocations: 12 kB / 0.6489 GB, free: 11.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001089/1.16, allocations: 120.1 kB / 0.649 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.16, allocations: 0 / 0.649 GB, free: 11.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001189/1.161, allocations: 195.5 kB / 0.6492 GB, free: 10.92 MB / 494.1 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.0007073/1.162, allocations: 304.8 kB / 0.6495 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/1.163, allocations: 0.5798 MB / 0.65 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/1.163, allocations: 0 / 0.65 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006045/1.164, allocations: 468.2 kB / 0.6505 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.165, allocations: 200.7 kB / 0.6507 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/1.167, allocations: 1.136 MB / 0.6518 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/1.167, allocations: 353.7 kB / 0.6521 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.168, allocations: 51.44 kB / 0.6522 GB, free: 7.691 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/1.168, allocations: 4 kB / 0.6522 GB, free: 7.688 MB / 494.1 MB Notification: Performance of Templates: time 0.01714/1.185, allocations: 9.423 MB / 0.6614 GB, free: 14.29 MB / 0.4981 GB " [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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.989546251948923] Failed to read output from testmodel.py, exit status != 0: 1.1953096962533891 1.22512916 0.083644804 Calling exit ...