Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.001857/0.001857, allocations: 85.48 kB / 19.44 MB, free: 344 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.002047/0.002047, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.01309/0.01309, allocations: 1.985 MB / 261.5 MB, free: 11.08 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.697e-05, allocations: 8.641 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.07894/0.07896, allocations: 52.17 MB / 383.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1945/0.2735, allocations: 29.58 MB / 413.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.274, allocations: 7.906 kB / 413.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.2755, allocations: 0.5098 MB / 413.9 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005413/0.2809, allocations: 2.277 MB / 416.2 MB, free: 15.97 MB / 330.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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00761/0.2885, allocations: 2.988 MB / 419.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.2897, allocations: 0.9778 MB / 420.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.2898, allocations: 26.52 kB / 420.2 MB, free: 14.92 MB / 330.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 1.302/1.592, allocations: 85.63 MB / 0.494 GB, free: 1.215 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/1.592, allocations: 247.1 kB / 0.4942 GB, free: 1.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/1.592, allocations: 40 kB / 0.4942 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3434/1.936, allocations: 44.13 MB / 0.5373 GB, free: 6.871 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/1.936, allocations: 116 kB / 0.5374 GB, free: 6.812 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007574/1.937, allocations: 230.8 kB / 0.5377 GB, free: 6.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006754/1.944, allocations: 1.913 MB / 0.5395 GB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.944, allocations: 0 / 0.5395 GB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.944, allocations: 4 kB / 0.5395 GB, free: 5.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/1.944, allocations: 0 / 0.5395 GB, free: 5.285 MB / 426.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.002017/1.946, allocations: 1.19 MB / 0.5407 GB, free: 4.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.946, allocations: 12.03 kB / 0.5407 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/1.948, allocations: 1.033 MB / 0.5417 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/1.949, allocations: 285.3 kB / 0.542 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/1.949, allocations: 45.44 kB / 0.542 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/1.949, allocations: 58.75 kB / 0.5421 GB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/1.951, allocations: 0.8981 MB / 0.543 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.951, allocations: 7.281 kB / 0.543 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/1.951, allocations: 25.62 kB / 0.543 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/1.951, allocations: 33.73 kB / 0.543 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/1.952, allocations: 499.1 kB / 0.5435 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/1.956, allocations: 3.662 MB / 0.5471 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/1.957, allocations: 290.9 kB / 0.5474 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/1.957, allocations: 153 kB / 0.5475 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/1.958, allocations: 1.08 MB / 0.5486 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.958, allocations: 33.39 kB / 0.5486 GB, free: 13.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 2.124e-06/1.958, allocations: 0 / 0.5486 GB, free: 13.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.00158/1.96, allocations: 0.6275 MB / 0.5492 GB, free: 13.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/1.96, allocations: 85.11 kB / 0.5493 GB, free: 13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/1.96, allocations: 295.5 kB / 0.5496 GB, free: 12.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/1.96, allocations: 29.7 kB / 0.5496 GB, free: 12.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/1.961, allocations: 346.8 kB / 0.5499 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/1.961, allocations: 251.2 kB / 0.5502 GB, free: 12.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/1.961, allocations: 131.6 kB / 0.5503 GB, free: 12.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000532/1.962, allocations: 0.5391 MB / 0.5508 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/1.962, allocations: 105.2 kB / 0.5509 GB, free: 11.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/1.962, allocations: 390 kB / 0.5513 GB, free: 10.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/1.963, allocations: 0.5396 MB / 0.5518 GB, free: 10.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.963, allocations: 0 / 0.5518 GB, free: 10.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008352/1.964, allocations: 0.5 MB / 0.5523 GB, free: 9.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.964, allocations: 8.094 kB / 0.5523 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.964, allocations: 8 kB / 0.5523 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.964, allocations: 8 kB / 0.5523 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/1.964, allocations: 81.39 kB / 0.5524 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.966, allocations: 1.805 MB / 0.5542 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.966, allocations: 55.52 kB / 0.5542 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/1.966, allocations: 27.98 kB / 0.5542 GB, free: 7.746 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.966, allocations: 239 kB / 0.5545 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/1.966, allocations: 35.81 kB / 0.5545 GB, free: 7.473 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/1.966, allocations: 26.66 kB / 0.5545 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.966, allocations: 0 / 0.5545 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.966, allocations: 0 / 0.5545 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.966, allocations: 7.984 kB / 0.5545 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/1.967, allocations: 454.6 kB / 0.555 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.967, allocations: 4 kB / 0.555 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/1.967, allocations: 39.27 kB / 0.555 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.967, allocations: 0 / 0.555 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/1.967, allocations: 12 kB / 0.555 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/1.968, allocations: 1.798 MB / 0.5568 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.968, allocations: 0 / 0.5568 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/1.969, allocations: 0.6228 MB / 0.5574 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/1.969, allocations: 47.56 kB / 0.5574 GB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/1.969, allocations: 0 / 0.5574 GB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/1.97, allocations: 8 kB / 0.5574 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/1.97, allocations: 20.09 kB / 0.5575 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/1.97, allocations: 8 kB / 0.5575 GB, free: 4.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001398/1.97, allocations: 171.2 kB / 0.5576 GB, free: 4.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.97, allocations: 0 / 0.5576 GB, free: 4.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007107/1.971, allocations: 195.5 kB / 0.5578 GB, free: 3.98 MB / 442.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008015/1.971, allocations: 306.1 kB / 0.5581 GB, free: 3.703 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/1.972, allocations: 0.6013 MB / 0.5587 GB, free: 3.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.972, allocations: 0 / 0.5587 GB, free: 3.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/1.973, allocations: 0.5053 MB / 0.5592 GB, free: 2.512 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.974, allocations: 200.7 kB / 0.5594 GB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/1.976, allocations: 1.067 MB / 0.5604 GB, free: 1.223 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/1.977, allocations: 348.8 kB / 0.5608 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004766/1.977, allocations: 219.1 kB / 0.561 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/1.977, allocations: 44.5 kB / 0.561 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/1.977, allocations: 0 / 0.561 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of Templates: time 0.1273/2.104, allocations: 11.15 MB / 0.5719 GB, free: 195.7 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.141581975971349]