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.001381/0.001381, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.001356/0.001356, allocations: 191.8 kB / 22.17 MB, free: 5.203 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.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.01264/0.01264, allocations: 2.801 MB / 308.9 MB, free: 5.934 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.00217/0.00217, allocations: 68.08 kB / 430.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.1, allocations: 52.97 MB / 483.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2528/0.3529, allocations: 51.2 MB / 0.5221 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02687/0.3797, allocations: 29.2 MB / 0.5506 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.3806, allocations: 6.188 kB / 0.5506 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.3825, allocations: 0.6143 MB / 0.5512 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006187/0.3887, allocations: 2.257 MB / 0.5534 GB, free: 13.66 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_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.008133/0.3968, allocations: 2.924 MB / 0.5563 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.398, allocations: 0.9247 MB / 0.5572 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.3981, allocations: 31 kB / 0.5572 GB, free: 10.73 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.7119/1.11, allocations: 51.95 MB / 0.6079 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/1.111, allocations: 298.6 kB / 0.6082 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/1.111, allocations: 40 kB / 0.6082 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2313/1.342, allocations: 27.39 MB / 0.635 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/1.342, allocations: 115.4 kB / 0.6351 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006203/1.343, allocations: 334.4 kB / 0.6354 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006827/1.35, allocations: 1.866 MB / 0.6372 GB, free: 10.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.35, allocations: 0 / 0.6372 GB, free: 10.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.303e-06/1.35, allocations: 0 / 0.6372 GB, free: 10.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/1.35, allocations: 0 / 0.6372 GB, free: 10.95 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.001935/1.352, allocations: 1.128 MB / 0.6383 GB, free: 9.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.352, allocations: 8.031 kB / 0.6383 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/1.354, allocations: 0.5001 MB / 0.6388 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/1.357, allocations: 339.5 kB / 0.6392 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/1.357, allocations: 46.06 kB / 0.6392 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/1.357, allocations: 52 kB / 0.6393 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.359, allocations: 0.8801 MB / 0.6401 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.359, allocations: 0 / 0.6401 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/1.359, allocations: 24 kB / 0.6401 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/1.359, allocations: 39.97 kB / 0.6402 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/1.361, allocations: 0.7 MB / 0.6409 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/1.366, allocations: 5.019 MB / 0.6458 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/1.367, allocations: 261.1 kB / 0.646 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/1.367, allocations: 161.6 kB / 0.6462 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.369, allocations: 1.527 MB / 0.6477 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.369, allocations: 38.5 kB / 0.6477 GB, free: 15.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.854e-06/1.369, allocations: 0 / 0.6477 GB, free: 15.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001615/1.37, allocations: 0.6003 MB / 0.6483 GB, free: 14.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.37, allocations: 81.11 kB / 0.6484 GB, free: 14.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/1.37, allocations: 178.8 kB / 0.6485 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/1.371, allocations: 29.7 kB / 0.6485 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.371, allocations: 296.3 kB / 0.6488 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/1.371, allocations: 249.9 kB / 0.6491 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.371, allocations: 101.9 kB / 0.6492 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/1.371, allocations: 338.8 kB / 0.6495 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/1.371, allocations: 117.3 kB / 0.6496 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/1.372, allocations: 300 kB / 0.6499 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/1.373, allocations: 492.7 kB / 0.6504 GB, free: 12.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.373, allocations: 0 / 0.6504 GB, free: 12.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008565/1.373, allocations: 488.5 kB / 0.6508 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.373, allocations: 8 kB / 0.6508 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.373, allocations: 7.938 kB / 0.6508 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.373, allocations: 8 kB / 0.6508 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/1.374, allocations: 63.91 kB / 0.6509 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/1.374, allocations: 15.92 kB / 0.6509 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.374, allocations: 63.91 kB / 0.651 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/1.374, allocations: 20 kB / 0.651 GB, free: 11.66 MB / 494.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.00023/1.374, allocations: 194.5 kB / 0.6512 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/1.374, allocations: 31.8 kB / 0.6512 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/1.374, allocations: 30.59 kB / 0.6512 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/1.374, allocations: 0 / 0.6512 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.374, allocations: 4 kB / 0.6513 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.374, allocations: 0 / 0.6513 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/1.375, allocations: 497 kB / 0.6517 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.375, allocations: 4 kB / 0.6517 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.375, allocations: 27.98 kB / 0.6518 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.375, allocations: 3.984 kB / 0.6518 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.375, allocations: 11.94 kB / 0.6518 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.375, allocations: 4 kB / 0.6518 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.375, allocations: 0 / 0.6518 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/1.376, allocations: 0.5061 MB / 0.6523 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/1.376, allocations: 116.8 kB / 0.6524 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/1.376, allocations: 7.938 kB / 0.6524 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.376, allocations: 8 kB / 0.6524 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/1.376, allocations: 15.98 kB / 0.6524 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/1.376, allocations: 7.984 kB / 0.6524 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001043/1.376, allocations: 120.2 kB / 0.6525 GB, free: 9.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.376, allocations: 0 / 0.6525 GB, free: 9.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006527/1.377, allocations: 195.5 kB / 0.6527 GB, free: 9.805 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: 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.0005861/1.378, allocations: 301.8 kB / 0.653 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008498/1.378, allocations: 0.5489 MB / 0.6535 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.378, allocations: 0 / 0.6535 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/1.379, allocations: 459.7 kB / 0.654 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.381, allocations: 200.4 kB / 0.6542 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/1.382, allocations: 1.058 MB / 0.6552 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/1.383, allocations: 0.9426 MB / 0.6561 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005257/1.383, allocations: 257.9 kB / 0.6564 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/1.383, allocations: 47.44 kB / 0.6564 GB, free: 5.852 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/1.383, allocations: 0 / 0.6564 GB, free: 5.852 MB / 494.1 MB Notification: Performance of Templates: time 0.02177/1.405, allocations: 11.58 MB / 0.6677 GB, free: 10.27 MB / 0.4981 GB " [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 gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.462512625847012] Failed to read output from testmodel.py, exit status != 0: 1.4139167591929436 1.4287411829999999 0.07563789400000001 Calling exit ...