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.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.000772/0.000772, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008437/0.0008437, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.8609/0.8609, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.007813/0.007813, allocations: 1.989 MB / 261.9 MB, free: 11.27 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_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 1.473e-06/1.473e-06, allocations: 0 / 385.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.989e-05, allocations: 2.281 kB / 385.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1519/0.1519, allocations: 45.15 MB / 431.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02222/0.1741, allocations: 25.14 MB / 456.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.1744, allocations: 6.094 kB / 456.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009948/0.1754, allocations: 0.5158 MB / 456.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.179, allocations: 2.266 MB / 459 MB, free: 10.35 MB / 346.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_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.1.1/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.005076/0.1841, allocations: 2.991 MB / 462 MB, free: 7.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007283/0.1848, allocations: 0.9769 MB / 463 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.1849, allocations: 23.81 kB / 463 MB, free: 7.312 MB / 346.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.7647/0.9496, allocations: 52.14 MB / 0.5031 GB, free: 5.008 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005338/0.9501, allocations: 247.3 kB / 0.5033 GB, free: 4.766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.9502, allocations: 40 kB / 0.5033 GB, free: 4.727 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08603/1.036, allocations: 27.39 MB / 0.5301 GB, free: 9.164 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006342/1.037, allocations: 107.5 kB / 0.5302 GB, free: 9.059 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/1.038, allocations: 231.5 kB / 0.5304 GB, free: 8.832 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/1.044, allocations: 1.913 MB / 0.5323 GB, free: 6.914 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.044, allocations: 0 / 0.5323 GB, free: 6.914 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/1.044, allocations: 0 / 0.5323 GB, free: 6.914 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/1.044, allocations: 0 / 0.5323 GB, free: 6.914 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.0009744/1.045, allocations: 1.041 MB / 0.5333 GB, free: 5.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/1.045, allocations: 12.03 kB / 0.5333 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.046, allocations: 0.5 MB / 0.5338 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/1.046, allocations: 272.9 kB / 0.534 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/1.046, allocations: 45.69 kB / 0.5341 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/1.046, allocations: 56.38 kB / 0.5341 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/1.047, allocations: 0.9777 MB / 0.5351 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.047, allocations: 4 kB / 0.5351 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/1.047, allocations: 31.94 kB / 0.5351 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/1.047, allocations: 27.98 kB / 0.5352 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/1.048, allocations: 0.7162 MB / 0.5359 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/1.05, allocations: 2.68 MB / 0.5385 GB, free: 348 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/1.05, allocations: 266.8 kB / 0.5387 GB, free: 64 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.05, allocations: 166.3 kB / 0.5389 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/1.051, allocations: 0.8583 MB / 0.5397 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.051, allocations: 42.5 kB / 0.5398 GB, free: 14.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 2.385e-06/1.051, allocations: 0 / 0.5398 GB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008217/1.052, allocations: 0.5974 MB / 0.5403 GB, free: 14.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.052, allocations: 85.11 kB / 0.5404 GB, free: 14.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.052, allocations: 194.5 kB / 0.5406 GB, free: 14.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/1.052, allocations: 29.7 kB / 0.5406 GB, free: 14.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.052, allocations: 300.3 kB / 0.5409 GB, free: 13.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.052, allocations: 233.9 kB / 0.5411 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/1.052, allocations: 97.95 kB / 0.5412 GB, free: 13.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/1.052, allocations: 338.8 kB / 0.5416 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.052, allocations: 121.3 kB / 0.5417 GB, free: 12.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/1.052, allocations: 307.9 kB / 0.542 GB, free: 12.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/1.053, allocations: 480.8 kB / 0.5424 GB, free: 12.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.053, allocations: 0 / 0.5424 GB, free: 12.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004346/1.053, allocations: 488.8 kB / 0.5429 GB, free: 11.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.053, allocations: 12.03 kB / 0.5429 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.053, allocations: 8 kB / 0.5429 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.053, allocations: 8 kB / 0.5429 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/1.054, allocations: 71.91 kB / 0.543 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.054, allocations: 11.94 kB / 0.543 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.054, allocations: 63.44 kB / 0.5431 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/1.054, allocations: 24 kB / 0.5431 GB, free: 11.33 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): 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.0001353/1.054, allocations: 189.7 kB / 0.5433 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/1.054, allocations: 23.81 kB / 0.5433 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/1.054, allocations: 46.56 kB / 0.5433 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.054, allocations: 0 / 0.5433 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.054, allocations: 4 kB / 0.5433 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.054, allocations: 3.938 kB / 0.5433 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/1.054, allocations: 344.7 kB / 0.5437 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/1.054, allocations: 0 / 0.5437 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/1.054, allocations: 23.98 kB / 0.5437 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.054, allocations: 0 / 0.5437 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.054, allocations: 8 kB / 0.5437 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.054, allocations: 4 kB / 0.5437 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.054, allocations: 4 kB / 0.5437 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/1.055, allocations: 0.5138 MB / 0.5442 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/1.055, allocations: 35.88 kB / 0.5442 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.055, allocations: 4 kB / 0.5443 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/1.055, allocations: 7.938 kB / 0.5443 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/1.055, allocations: 19.97 kB / 0.5443 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.055, allocations: 8 kB / 0.5443 GB, free: 10.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.477e-05/1.055, allocations: 119.2 kB / 0.5444 GB, free: 9.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.055, allocations: 4 kB / 0.5444 GB, free: 9.926 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004074/1.055, allocations: 203.4 kB / 0.5446 GB, free: 9.727 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): 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.0004/1.056, allocations: 312.8 kB / 0.5449 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004481/1.056, allocations: 0.5494 MB / 0.5454 GB, free: 8.836 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.056, allocations: 0 / 0.5454 GB, free: 8.836 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/1.056, allocations: 456.1 kB / 0.5459 GB, free: 8.316 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/1.057, allocations: 193.9 kB / 0.5461 GB, free: 8.133 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/1.058, allocations: 1.088 MB / 0.5471 GB, free: 7.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/1.058, allocations: 348.7 kB / 0.5474 GB, free: 6.637 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/1.058, allocations: 56.48 kB / 0.5475 GB, free: 6.582 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/1.058, allocations: 4 kB / 0.5475 GB, free: 6.578 MB / 442.7 MB Notification: Performance of Templates: time 0.007572/1.066, allocations: 9.261 MB / 0.5565 GB, free: 13.33 MB / 458.7 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.775132620707154] Failed to read output from testmodel.py, exit status != 0: 1.0716398693621159 1.079454464 0.033961537 Calling exit ...