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.00124/0.00124, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001517/0.001517, allocations: 173 kB / 23.27 MB, free: 1.227 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.9501/0.9501, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.008035/0.008035, allocations: 1.996 MB / 262.2 MB, free: 10.92 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.774e-06/1.774e-06, allocations: 0 / 332.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.295e-05, allocations: 2.312 kB / 332.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.006186/0.006199, allocations: 11.82 MB / 344.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.01283, allocations: 12.04 MB / 356.7 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.01298, allocations: 7.938 kB / 356.7 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.01341, allocations: 214.5 kB / 356.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.01522, allocations: 1.249 MB / 358.1 MB, free: 7.227 MB / 282.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.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.01687, allocations: 1.165 MB / 359.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.01752, allocations: 0.9746 MB / 360.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.01758, allocations: 33.89 kB / 360.3 MB, free: 5.043 MB / 282.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.6897/0.7072, allocations: 22.04 MB / 382.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.7076, allocations: 243.3 kB / 382.6 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.7077, allocations: 40 kB / 382.6 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.7096, allocations: 0.6948 MB / 383.3 MB, free: 100 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.7097, allocations: 107.6 kB / 383.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.7099, allocations: 231.5 kB / 383.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.7116, allocations: 0.9267 MB / 384.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.7116, allocations: 0 / 384.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.7116, allocations: 4 kB / 384.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.7116, allocations: 0 / 384.6 MB, free: 14.83 MB / 314.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.0009873/0.7126, allocations: 0.9979 MB / 385.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7126, allocations: 12.02 kB / 385.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.714, allocations: 1.03 MB / 386.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.7144, allocations: 283.8 kB / 386.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.7144, allocations: 45.69 kB / 386.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.7145, allocations: 60.38 kB / 387 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.7152, allocations: 0.7275 MB / 387.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.7152, allocations: 0 / 387.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.7152, allocations: 28 kB / 387.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.7152, allocations: 27.98 kB / 387.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.7156, allocations: 294.8 kB / 388.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.7177, allocations: 3.135 MB / 391.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.718, allocations: 217.8 kB / 391.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.7181, allocations: 87.41 kB / 391.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006509/0.7188, allocations: 0.9505 MB / 392.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.7188, allocations: 37.39 kB / 392.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.553e-06/0.7188, allocations: 0 / 392.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.000726/0.7195, allocations: 0.5136 MB / 393 MB, free: 6.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.7195, allocations: 81.11 kB / 393.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.7197, allocations: 225.7 kB / 393.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7197, allocations: 33.64 kB / 393.3 MB, free: 5.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.7198, allocations: 335.2 kB / 393.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.7199, allocations: 253.7 kB / 393.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.72, allocations: 107.5 kB / 394 MB, free: 5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7201, allocations: 0.5156 MB / 394.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.7202, allocations: 57.28 kB / 394.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.7206, allocations: 287.6 kB / 394.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.7209, allocations: 397 kB / 395.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7209, allocations: 0 / 395.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003649/0.7212, allocations: 384.5 kB / 395.6 MB, free: 3.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7213, allocations: 4.625 kB / 395.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.7213, allocations: 12 kB / 395.6 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7213, allocations: 4 kB / 395.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.7215, allocations: 71.84 kB / 395.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.7215, allocations: 15.92 kB / 395.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.7217, allocations: 59.5 kB / 395.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.7217, allocations: 16 kB / 395.8 MB, free: 3.004 MB / 314.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,medium1.baseProperties.phaseInput,medium2.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.0001782/0.7219, allocations: 180.4 kB / 396 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.722, allocations: 35.81 kB / 396 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.7221, allocations: 29.97 kB / 396 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7221, allocations: 0 / 396 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7221, allocations: 4 kB / 396 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7221, allocations: 11.92 kB / 396.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.7225, allocations: 300.3 kB / 396.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7225, allocations: 0 / 396.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.7226, allocations: 31.92 kB / 396.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7226, allocations: 4 kB / 396.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.7226, allocations: 11.98 kB / 396.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7226, allocations: 0 / 396.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7226, allocations: 0 / 396.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.723, allocations: 0.5413 MB / 396.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.723, allocations: 39.64 kB / 397 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.723, allocations: 4 kB / 397 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7231, allocations: 11.98 kB / 397 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.7232, allocations: 23.91 kB / 397 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.7232, allocations: 19.98 kB / 397 MB, free: 1.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.7232, allocations: 155.9 kB / 397.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7232, allocations: 0 / 397.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004096/0.7237, allocations: 183.5 kB / 397.4 MB, free: 1.375 MB / 314.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.0003047/0.724, allocations: 187 kB / 397.5 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.7244, allocations: 483.6 kB / 398 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7244, allocations: 0 / 398 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.7246, allocations: 441.4 kB / 398.5 MB, free: 188 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.7253, allocations: 192.8 kB / 398.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.7264, allocations: 0.9892 MB / 399.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.7265, allocations: 164.8 kB / 399.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.7269, allocations: 225.8 kB / 400 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.7272, allocations: 254 kB / 400.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of SimCode: time 5.62e-07/0.7272, allocations: 0 / 400.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of Templates: time 0.01351/0.7407, allocations: 10.6 MB / 410.9 MB, free: 3.715 MB / 330.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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.4033239260315895]