Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.000736/0.000736, 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.000766/0.000766, allocations: 177.9 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.8299/0.8299, allocations: 177.1 MB / 203.5 MB, free: 5.391 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.007053/0.007053, allocations: 1.986 MB / 261.9 MB, free: 11.12 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.97e-06/4.97e-06, allocations: 0 / 385.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.069e-05/5.566e-05, allocations: 2.281 kB / 385.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01834/0.01839, allocations: 17.28 MB / 403.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.02125, allocations: 5.267 MB / 408.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.02133, allocations: 8 kB / 408.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.02172, allocations: 210.5 kB / 408.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.02367, allocations: 1.221 MB / 409.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.02385, allocations: 91.3 kB / 410 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.0241, allocations: 329.4 kB / 410.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.02414, allocations: 12.94 kB / 410.3 MB, free: 2.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.02423, allocations: 139.6 kB / 410.5 MB, free: 2.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.02432, allocations: 83.77 kB / 410.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.02434, allocations: 8 kB / 410.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8349/0.8593, allocations: 39.15 MB / 449.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.8593, allocations: 39.8 kB / 449.7 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.8594, allocations: 81.59 kB / 449.8 MB, free: 3.805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.8607, allocations: 0.514 MB / 450.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8607, allocations: 0 / 450.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8607, allocations: 4 kB / 450.3 MB, free: 3.543 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.8607, allocations: 0 / 450.3 MB, free: 3.543 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0004026/0.8611, allocations: 0.4885 MB / 450.8 MB, free: 3.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.8611, allocations: 12.03 kB / 450.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.8615, allocations: 208.9 kB / 451 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.8616, allocations: 131.1 kB / 451.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.8616, allocations: 16.44 kB / 451.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.8616, allocations: 23.94 kB / 451.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.8619, allocations: 341.4 kB / 451.5 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.862, allocations: 0 / 451.5 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.862, allocations: 15.62 kB / 451.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.862, allocations: 7.047 kB / 451.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.8622, allocations: 276.4 kB / 451.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.8629, allocations: 0.7992 MB / 452.6 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.8629, allocations: 100.4 kB / 452.7 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.863, allocations: 70.55 kB / 452.8 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.8633, allocations: 0.5079 MB / 453.3 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.8633, allocations: 38.56 kB / 453.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.8633, allocations: 0 / 453.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002357/0.8636, allocations: 186.9 kB / 453.5 MB, free: 1.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.8636, allocations: 81.11 kB / 453.6 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.8636, allocations: 108.2 kB / 453.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.8636, allocations: 25.7 kB / 453.7 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.8637, allocations: 160.1 kB / 453.9 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.8637, allocations: 105.5 kB / 454 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.8637, allocations: 41.22 kB / 454 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.837e-05/0.8638, allocations: 322.5 kB / 454.4 MB, free: 248 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.8638, allocations: 39.36 kB / 454.4 MB, free: 224 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.8638, allocations: 79.94 kB / 454.5 MB, free: 148 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.8639, allocations: 133.2 kB / 454.6 MB, free: 48 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8639, allocations: 4 kB / 454.6 MB, free: 44 kB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001565/0.8641, allocations: 161.8 kB / 454.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8641, allocations: 8 kB / 454.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8641, allocations: 4.188 kB / 454.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8641, allocations: 0 / 454.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.8642, allocations: 12 kB / 454.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.8642, allocations: 3.094 kB / 454.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.8642, allocations: 25.84 kB / 454.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.8642, allocations: 4 kB / 454.8 MB, free: 15.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.747e-05/0.8643, allocations: 129.3 kB / 454.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.8643, allocations: 16.06 kB / 455 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.8644, allocations: 12.39 kB / 455 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.8644, allocations: 4 kB / 455 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8644, allocations: 4 kB / 455 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8644, allocations: 0 / 455 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.8645, allocations: 190.2 kB / 455.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.8645, allocations: 4 kB / 455.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.8645, allocations: 7.125 kB / 455.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.8646, allocations: 8 kB / 455.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.8646, allocations: 0 / 455.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8646, allocations: 3.984 kB / 455.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8646, allocations: 0 / 455.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.8647, allocations: 310.5 kB / 455.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.8647, allocations: 19.78 kB / 455.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.8648, allocations: 4 kB / 455.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.8648, allocations: 3.938 kB / 455.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.8648, allocations: 11.27 kB / 455.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.8648, allocations: 4 kB / 455.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.8649, allocations: 79.16 kB / 455.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8649, allocations: 4 kB / 455.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.8651, allocations: 83.72 kB / 455.7 MB, free: 15.04 MB / 346.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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002917/0.8654, allocations: 197.4 kB / 455.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.8656, allocations: 209.8 kB / 456.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.8656, allocations: 0 / 456.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.8657, allocations: 181.9 kB / 456.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.8661, allocations: 87.23 kB / 456.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.8666, allocations: 0.5281 MB / 456.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.8667, allocations: 195.1 kB / 457.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.8668, allocations: 20.5 kB / 457.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8668, allocations: 0 / 457.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of Templates: time 0.003868/0.8706, allocations: 3.921 MB / 461 MB, free: 9.852 MB / 346.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.353554309345782] Failed to read output from testmodel.py, exit status != 0: 0.8783920612186193 0.8837730690000001 0.021350829 Calling exit ...