Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.00073/0.00073, 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.0007459/0.0007459, 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.8517/0.8517, allocations: 177.2 MB / 203.5 MB, free: 5.449 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.007341/0.007341, allocations: 1.978 MB / 261.9 MB, free: 11.16 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.885e-05, allocations: 2.281 kB / 385.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1666/0.1666, allocations: 45.14 MB / 431.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1788, allocations: 25.15 MB / 456.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.179, allocations: 2.719 kB / 456.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009198/0.1799, allocations: 0.516 MB / 456.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.1833, allocations: 2.258 MB / 459 MB, free: 10.4 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.188, allocations: 2.994 MB / 462 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.1887, allocations: 0.9679 MB / 463 MB, free: 7.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.1888, allocations: 37.53 kB / 463 MB, free: 7.355 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.7373/0.9261, allocations: 52.14 MB / 0.5031 GB, free: 5.043 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.9266, allocations: 243.3 kB / 0.5033 GB, free: 4.805 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.9267, allocations: 40 kB / 0.5033 GB, free: 4.766 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0764/1.003, allocations: 27.38 MB / 0.5301 GB, free: 9.207 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/1.003, allocations: 115.5 kB / 0.5302 GB, free: 9.094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/1.004, allocations: 227.5 kB / 0.5304 GB, free: 8.871 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/1.007, allocations: 1.909 MB / 0.5323 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.007, allocations: 0 / 0.5323 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.007, allocations: 0 / 0.5323 GB, free: 6.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/1.007, allocations: 0 / 0.5323 GB, free: 6.957 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.001115/1.008, allocations: 1.041 MB / 0.5333 GB, free: 5.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/1.008, allocations: 12.03 kB / 0.5333 GB, free: 5.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.009, allocations: 0.5039 MB / 0.5338 GB, free: 5.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/1.01, allocations: 276.9 kB / 0.5341 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/1.01, allocations: 45.69 kB / 0.5341 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/1.01, allocations: 52.38 kB / 0.5341 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/1.011, allocations: 0.9778 MB / 0.5351 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.011, allocations: 0 / 0.5351 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.479e-05/1.011, allocations: 31.81 kB / 0.5351 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/1.011, allocations: 39.97 kB / 0.5352 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/1.011, allocations: 0.7162 MB / 0.5359 GB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/1.013, allocations: 2.617 MB / 0.5384 GB, free: 444 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/1.014, allocations: 281.1 kB / 0.5387 GB, free: 144 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/1.014, allocations: 166.3 kB / 0.5389 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/1.014, allocations: 0.8909 MB / 0.5397 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.014, allocations: 34.56 kB / 0.5398 GB, free: 15.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 1.422e-06/1.014, allocations: 0 / 0.5398 GB, free: 15.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.0009013/1.015, allocations: 0.6236 MB / 0.5404 GB, free: 14.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/1.015, allocations: 81.11 kB / 0.5404 GB, free: 14.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/1.016, allocations: 186.6 kB / 0.5406 GB, free: 14.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.016, allocations: 29.7 kB / 0.5406 GB, free: 14.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.016, allocations: 280.6 kB / 0.5409 GB, free: 13.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/1.016, allocations: 249.7 kB / 0.5412 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/1.016, allocations: 97.95 kB / 0.5412 GB, free: 13.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/1.016, allocations: 342.7 kB / 0.5416 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/1.016, allocations: 125.3 kB / 0.5417 GB, free: 12.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.016, allocations: 293.4 kB / 0.542 GB, free: 12.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/1.017, allocations: 473.5 kB / 0.5424 GB, free: 12.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.017, allocations: 4 kB / 0.5424 GB, free: 12.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004701/1.017, allocations: 480.3 kB / 0.5429 GB, free: 11.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.017, allocations: 4 kB / 0.5429 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.017, allocations: 8 kB / 0.5429 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.017, allocations: 7.938 kB / 0.5429 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/1.017, allocations: 71.91 kB / 0.543 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.017, allocations: 11.92 kB / 0.543 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/1.017, allocations: 67.89 kB / 0.5431 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/1.018, allocations: 20 kB / 0.5431 GB, free: 11.42 MB / 442.7 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.0001384/1.018, allocations: 185.7 kB / 0.5432 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/1.018, allocations: 27.81 kB / 0.5433 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/1.018, allocations: 29.97 kB / 0.5433 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.018, allocations: 0 / 0.5433 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.018, allocations: 4 kB / 0.5433 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.018, allocations: 7.922 kB / 0.5433 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/1.018, allocations: 348.3 kB / 0.5436 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.018, allocations: 4 kB / 0.5436 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/1.018, allocations: 39.91 kB / 0.5437 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.018, allocations: 384 / 0.5437 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.018, allocations: 8 kB / 0.5437 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.018, allocations: 0 / 0.5437 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.018, allocations: 0 / 0.5437 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/1.019, allocations: 0.541 MB / 0.5442 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/1.019, allocations: 47.58 kB / 0.5443 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.019, allocations: 4 kB / 0.5443 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.019, allocations: 12 kB / 0.5443 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/1.019, allocations: 27.89 kB / 0.5443 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/1.019, allocations: 12 kB / 0.5443 GB, free: 10.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/1.019, allocations: 119.2 kB / 0.5444 GB, free: 9.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/1.019, allocations: 0 / 0.5444 GB, free: 9.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003767/1.019, allocations: 199.5 kB / 0.5446 GB, free: 9.762 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: 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.0003629/1.02, allocations: 308.6 kB / 0.5449 GB, free: 9.449 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/1.02, allocations: 0.5557 MB / 0.5455 GB, free: 8.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.02, allocations: 4 kB / 0.5455 GB, free: 8.871 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/1.02, allocations: 468.6 kB / 0.5459 GB, free: 8.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/1.021, allocations: 188.9 kB / 0.5461 GB, free: 8.156 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/1.022, allocations: 1.089 MB / 0.5472 GB, free: 7.027 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/1.022, allocations: 357.7 kB / 0.5475 GB, free: 6.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/1.022, allocations: 52.5 kB / 0.5475 GB, free: 6.598 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/1.022, allocations: 0 / 0.5475 GB, free: 6.598 MB / 442.7 MB Notification: Performance of Templates: time 0.007473/1.03, allocations: 9.486 MB / 0.5568 GB, free: 13.11 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.719562094658613] Failed to read output from testmodel.py, exit status != 0: 1.0350345792248845 1.042939998 0.034279374 Calling exit ...