Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.001162/0.001162, allocations: 76.55 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.001214/0.001214, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.007416/0.007416, allocations: 1.983 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 385.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.67e-05, allocations: 6.219 kB / 385.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1619/0.1619, allocations: 45.18 MB / 431.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1738, allocations: 25.14 MB / 456.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.1741, allocations: 3 kB / 456.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009998/0.1751, allocations: 0.5189 MB / 456.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.1786, allocations: 2.26 MB / 459 MB, free: 10.32 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.005596/0.1842, allocations: 3.003 MB / 462 MB, free: 7.883 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008794/0.1851, allocations: 0.9697 MB / 463 MB, free: 7.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.1852, allocations: 28.05 kB / 463 MB, free: 7.266 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.7476/0.9328, allocations: 52.15 MB / 0.5031 GB, free: 4.984 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008478/0.9336, allocations: 243.3 kB / 0.5033 GB, free: 4.746 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.9337, allocations: 40 kB / 0.5034 GB, free: 4.707 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07401/1.008, allocations: 27.39 MB / 0.5301 GB, free: 9.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/1.008, allocations: 115.5 kB / 0.5302 GB, free: 9.031 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003603/1.008, allocations: 231.5 kB / 0.5305 GB, free: 8.805 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00358/1.012, allocations: 1.905 MB / 0.5323 GB, free: 6.895 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.012, allocations: 0 / 0.5323 GB, free: 6.895 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.012, allocations: 0 / 0.5323 GB, free: 6.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/1.012, allocations: 0 / 0.5323 GB, free: 6.895 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.0009796/1.013, allocations: 1.045 MB / 0.5333 GB, free: 5.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/1.013, allocations: 8.031 kB / 0.5333 GB, free: 5.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.014, allocations: 0.5 MB / 0.5338 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/1.014, allocations: 284.9 kB / 0.5341 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/1.014, allocations: 49.69 kB / 0.5342 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/1.014, allocations: 52.38 kB / 0.5342 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/1.015, allocations: 0.9778 MB / 0.5352 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.015, allocations: 7.938 kB / 0.5352 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/1.015, allocations: 31.94 kB / 0.5352 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/1.015, allocations: 31.98 kB / 0.5352 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007319/1.016, allocations: 0.7123 MB / 0.5359 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/1.018, allocations: 2.68 MB / 0.5385 GB, free: 316 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/1.018, allocations: 278.8 kB / 0.5388 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/1.018, allocations: 158.4 kB / 0.539 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/1.019, allocations: 0.8855 MB / 0.5398 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/1.019, allocations: 34.56 kB / 0.5399 GB, free: 14.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.242e-06/1.019, allocations: 0 / 0.5399 GB, free: 14.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008377/1.02, allocations: 0.6053 MB / 0.5404 GB, free: 14.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/1.02, allocations: 85.05 kB / 0.5405 GB, free: 14.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/1.02, allocations: 202.5 kB / 0.5407 GB, free: 13.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/1.02, allocations: 29.7 kB / 0.5407 GB, free: 13.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/1.02, allocations: 292.4 kB / 0.541 GB, free: 13.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/1.02, allocations: 245.8 kB / 0.5413 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/1.02, allocations: 97.95 kB / 0.5414 GB, free: 13.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/1.02, allocations: 334.8 kB / 0.5417 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/1.02, allocations: 125.3 kB / 0.5418 GB, free: 12.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.021, allocations: 303.9 kB / 0.5421 GB, free: 12.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/1.021, allocations: 480.8 kB / 0.5425 GB, free: 11.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.021, allocations: 4 kB / 0.5425 GB, free: 11.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004389/1.022, allocations: 488.7 kB / 0.543 GB, free: 11.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.022, allocations: 8 kB / 0.543 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.022, allocations: 12 kB / 0.543 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.022, allocations: 11.97 kB / 0.543 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/1.022, allocations: 79.91 kB / 0.5431 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000396/1.022, allocations: 1.18 MB / 0.5443 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.022, allocations: 63.86 kB / 0.5443 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/1.022, allocations: 24 kB / 0.5444 GB, free: 10.03 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.0001469/1.023, allocations: 194.7 kB / 0.5445 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/1.023, allocations: 27.77 kB / 0.5446 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/1.023, allocations: 30.66 kB / 0.5446 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/1.023, allocations: 0 / 0.5446 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.023, allocations: 4 kB / 0.5446 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.023, allocations: 3.984 kB / 0.5446 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/1.023, allocations: 348.6 kB / 0.5449 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.023, allocations: 0 / 0.5449 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.023, allocations: 51.91 kB / 0.545 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.023, allocations: 0 / 0.545 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.023, allocations: 8 kB / 0.545 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/1.023, allocations: 1.164 MB / 0.5461 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.023, allocations: 3.938 kB / 0.5461 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/1.024, allocations: 0.5101 MB / 0.5466 GB, free: 7.594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/1.024, allocations: 40 kB / 0.5467 GB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/1.024, allocations: 7.984 kB / 0.5467 GB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/1.024, allocations: 11.94 kB / 0.5467 GB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/1.024, allocations: 15.97 kB / 0.5467 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.024, allocations: 8 kB / 0.5467 GB, free: 7.512 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/1.024, allocations: 119.2 kB / 0.5468 GB, free: 7.395 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.024, allocations: 4 kB / 0.5468 GB, free: 7.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003952/1.024, allocations: 199.4 kB / 0.547 GB, free: 7.195 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.000394/1.025, allocations: 312.9 kB / 0.5473 GB, free: 6.875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005211/1.025, allocations: 0.5728 MB / 0.5479 GB, free: 6.281 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/1.025, allocations: 0 / 0.5479 GB, free: 6.281 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/1.026, allocations: 468 kB / 0.5483 GB, free: 5.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/1.026, allocations: 191.1 kB / 0.5485 GB, free: 5.566 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.027, allocations: 1.106 MB / 0.5496 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.028, allocations: 352.7 kB / 0.5499 GB, free: 4.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/1.028, allocations: 56.44 kB / 0.55 GB, free: 3.992 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/1.028, allocations: 0 / 0.55 GB, free: 3.992 MB / 442.7 MB Notification: Performance of Templates: time 0.01144/1.039, allocations: 16.85 MB / 0.5664 GB, free: 3.129 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.225817843340337] Failed to read output from testmodel.py, exit status != 0: 1.0442267265170813 1.052167716 0.03863848899999994 Calling exit ...