Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 200.9 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.01307/0.01307, allocations: 2.81 MB / 308.9 MB, free: 5.957 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 430.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09877, allocations: 52.95 MB / 483.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2853/0.3841, allocations: 51.19 MB / 0.5221 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.4081, allocations: 29.21 MB / 0.5506 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.4086, allocations: 3.344 kB / 0.5506 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.4101, allocations: 0.6167 MB / 0.5512 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.4167, allocations: 2.248 MB / 0.5534 GB, free: 0.5 MB / 382.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_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009057/0.4257, allocations: 2.939 MB / 0.5563 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.4272, allocations: 0.9272 MB / 0.5572 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4273, allocations: 29.22 kB / 0.5572 GB, free: 14.62 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.7085/1.136, allocations: 51.94 MB / 0.6079 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/1.137, allocations: 310.6 kB / 0.6082 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/1.137, allocations: 40 kB / 0.6082 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2285/1.366, allocations: 27.38 MB / 0.635 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/1.366, allocations: 111.5 kB / 0.6351 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007957/1.367, allocations: 330.5 kB / 0.6354 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008938/1.376, allocations: 1.866 MB / 0.6372 GB, free: 5.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.376, allocations: 0 / 0.6372 GB, free: 5.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.376, allocations: 0 / 0.6372 GB, free: 5.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/1.376, allocations: 0 / 0.6372 GB, free: 5.414 MB / 462.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.002122/1.378, allocations: 1.131 MB / 0.6383 GB, free: 4.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.378, allocations: 8.031 kB / 0.6383 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/1.38, allocations: 0.5 MB / 0.6388 GB, free: 3.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/1.384, allocations: 339.5 kB / 0.6392 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/1.384, allocations: 46.06 kB / 0.6392 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/1.384, allocations: 56 kB / 0.6392 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.386, allocations: 0.8684 MB / 0.6401 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.386, allocations: 7.938 kB / 0.6401 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/1.386, allocations: 24 kB / 0.6401 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/1.386, allocations: 35.97 kB / 0.6402 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.387, allocations: 0.7078 MB / 0.6409 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/1.392, allocations: 5.016 MB / 0.6458 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/1.392, allocations: 261.1 kB / 0.646 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/1.393, allocations: 157.6 kB / 0.6462 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/1.394, allocations: 1.522 MB / 0.6476 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/1.394, allocations: 46.5 kB / 0.6477 GB, free: 9.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 2.745e-06/1.394, allocations: 0 / 0.6477 GB, free: 9.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.002281/1.397, allocations: 0.5887 MB / 0.6483 GB, free: 9.176 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.397, allocations: 85.05 kB / 0.6483 GB, free: 9.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/1.397, allocations: 186.6 kB / 0.6485 GB, free: 8.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/1.397, allocations: 25.7 kB / 0.6485 GB, free: 8.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/1.397, allocations: 300.4 kB / 0.6488 GB, free: 8.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/1.397, allocations: 245.8 kB / 0.6491 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.397, allocations: 102 kB / 0.6492 GB, free: 8.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/1.398, allocations: 338.8 kB / 0.6495 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.398, allocations: 117.3 kB / 0.6496 GB, free: 7.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/1.398, allocations: 304 kB / 0.6499 GB, free: 7.375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/1.399, allocations: 480.8 kB / 0.6503 GB, free: 6.828 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.399, allocations: 4 kB / 0.6503 GB, free: 6.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008048/1.4, allocations: 484.6 kB / 0.6508 GB, free: 6.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.4, allocations: 8 kB / 0.6508 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.4, allocations: 11.94 kB / 0.6508 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.4, allocations: 8 kB / 0.6508 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/1.4, allocations: 67.91 kB / 0.6509 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/1.4, allocations: 15.92 kB / 0.6509 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/1.4, allocations: 59.83 kB / 0.651 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/1.4, allocations: 24 kB / 0.651 GB, free: 6.152 MB / 478.1 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): 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.0002365/1.4, allocations: 186.6 kB / 0.6512 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/1.401, allocations: 39.69 kB / 0.6512 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/1.401, allocations: 34.59 kB / 0.6512 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.401, allocations: 0 / 0.6512 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.401, allocations: 0 / 0.6512 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.401, allocations: 4 kB / 0.6512 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/1.401, allocations: 492.9 kB / 0.6517 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.401, allocations: 4 kB / 0.6517 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.401, allocations: 35.97 kB / 0.6518 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.401, allocations: 0 / 0.6518 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/1.401, allocations: 7.938 kB / 0.6518 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.401, allocations: 4 kB / 0.6518 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.401, allocations: 0 / 0.6518 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/1.402, allocations: 0.5099 MB / 0.6523 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/1.402, allocations: 120.7 kB / 0.6524 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/1.402, allocations: 7.938 kB / 0.6524 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.402, allocations: 8 kB / 0.6524 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/1.402, allocations: 11.98 kB / 0.6524 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.402, allocations: 15.98 kB / 0.6524 GB, free: 4.598 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001046/1.403, allocations: 120.2 kB / 0.6525 GB, free: 4.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.403, allocations: 0 / 0.6525 GB, free: 4.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007098/1.403, allocations: 191.4 kB / 0.6527 GB, free: 4.293 MB / 478.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: 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): 13 * 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.0006383/1.404, allocations: 313.9 kB / 0.653 GB, free: 3.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008455/1.405, allocations: 0.545 MB / 0.6535 GB, free: 3.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.405, allocations: 0 / 0.6535 GB, free: 3.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004938/1.405, allocations: 463.7 kB / 0.654 GB, free: 2.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.406, allocations: 188.5 kB / 0.6542 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/1.408, allocations: 1.054 MB / 0.6552 GB, free: 1.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/1.409, allocations: 0.9464 MB / 0.6561 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005083/1.409, allocations: 257.9 kB / 0.6564 GB, free: 400 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/1.409, allocations: 43.44 kB / 0.6564 GB, free: 356 kB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/1.409, allocations: 0 / 0.6564 GB, free: 356 kB / 478.1 MB Notification: Performance of Templates: time 0.02199/1.431, allocations: 11.59 MB / 0.6677 GB, free: 4.754 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.568539842963219] Failed to read output from testmodel.py, exit status != 0: 1.438785154838115 1.454158862 0.075244647 Calling exit ...