Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.001942/0.001942, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.00244/0.00244, allocations: 215.1 kB / 22.25 MB, free: 5.234 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01274/0.01274, allocations: 2.799 MB / 315.2 MB, free: 116 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.91 kB / 439.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.09081, allocations: 54.18 MB / 493.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3265/0.4173, allocations: 73.93 MB / 0.554 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03816/0.4555, allocations: 35.22 MB / 0.5884 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4565, allocations: 8 kB / 0.5884 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.4594, allocations: 0.9899 MB / 0.5893 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0186/0.478, allocations: 6.771 MB / 0.5959 GB, free: 396 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.4789, allocations: 274 kB / 0.5962 GB, free: 120 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.4808, allocations: 1.338 MB / 0.5975 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.481, allocations: 51.14 kB / 0.5976 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.4815, allocations: 433.9 kB / 0.598 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.4822, allocations: 489.4 kB / 0.5984 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.4823, allocations: 36 kB / 0.5985 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.974/2.456, allocations: 170 MB / 0.7645 GB, free: 86.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/2.456, allocations: 148.8 kB / 0.7646 GB, free: 86.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006438/2.457, allocations: 488.2 kB / 0.7651 GB, free: 86.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01019/2.467, allocations: 2.8 MB / 0.7678 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/2.467, allocations: 0 / 0.7678 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/2.467, allocations: 4 kB / 0.7679 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.507e-05/2.467, allocations: 0 / 0.7679 GB, free: 84.3 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001733/2.469, allocations: 1.531 MB / 0.7693 GB, free: 82.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/2.469, allocations: 8.031 kB / 0.7694 GB, free: 82.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/2.473, allocations: 1.213 MB / 0.7705 GB, free: 82.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/2.473, allocations: 235.7 kB / 0.7708 GB, free: 81.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/2.473, allocations: 73.56 kB / 0.7708 GB, free: 81.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/2.474, allocations: 93.56 kB / 0.7709 GB, free: 81.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/2.475, allocations: 1.749 MB / 0.7726 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/2.475, allocations: 0 / 0.7726 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/2.475, allocations: 42.5 kB / 0.7727 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/2.476, allocations: 70.31 kB / 0.7727 GB, free: 80.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/2.477, allocations: 1.662 MB / 0.7744 GB, free: 79.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/2.481, allocations: 3.436 MB / 0.7777 GB, free: 77.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/2.482, allocations: 0.5304 MB / 0.7782 GB, free: 77.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/2.483, allocations: 0.5001 MB / 0.7787 GB, free: 77.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/2.484, allocations: 1.318 MB / 0.78 GB, free: 76.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/2.484, allocations: 41.59 kB / 0.7801 GB, free: 76.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.154e-06/2.484, allocations: 0 / 0.7801 GB, free: 76.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01118/2.495, allocations: 1.527 MB / 0.7815 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/2.496, allocations: 81.11 kB / 0.7816 GB, free: 75.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/2.496, allocations: 139 kB / 0.7818 GB, free: 74.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/2.496, allocations: 25.7 kB / 0.7818 GB, free: 74.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/2.496, allocations: 417.7 kB / 0.7822 GB, free: 74.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/2.496, allocations: 0.5903 MB / 0.7828 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/2.496, allocations: 139.2 kB / 0.7829 GB, free: 73.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/2.496, allocations: 306 kB / 0.7832 GB, free: 73.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/2.497, allocations: 340.2 kB / 0.7835 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/2.497, allocations: 0.492 MB / 0.784 GB, free: 73.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/2.498, allocations: 1.037 MB / 0.785 GB, free: 72.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/2.498, allocations: 0 / 0.785 GB, free: 72.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001123/2.499, allocations: 1.051 MB / 0.786 GB, free: 71.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/2.499, allocations: 7.938 kB / 0.786 GB, free: 71.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.499, allocations: 4 kB / 0.786 GB, free: 71.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/2.499, allocations: 7.938 kB / 0.786 GB, free: 71.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/2.499, allocations: 30.61 kB / 0.7861 GB, free: 71.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/2.499, allocations: 6.625 kB / 0.7861 GB, free: 71.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/2.499, allocations: 91.08 kB / 0.7862 GB, free: 71.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/2.5, allocations: 20 kB / 0.7862 GB, free: 71.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002934/2.5, allocations: 226.5 kB / 0.7864 GB, free: 71.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/2.5, allocations: 51.56 kB / 0.7864 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/2.5, allocations: 38.22 kB / 0.7865 GB, free: 70.99 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/2.5, allocations: 8 kB / 0.7865 GB, free: 70.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/2.5, allocations: 0 / 0.7865 GB, free: 70.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/2.5, allocations: 3.984 kB / 0.7865 GB, free: 70.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/2.501, allocations: 0.7468 MB / 0.7872 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/2.501, allocations: 0 / 0.7872 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/2.501, allocations: 8 kB / 0.7872 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/2.501, allocations: 0 / 0.7872 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/2.501, allocations: 27.92 kB / 0.7873 GB, free: 70.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/2.501, allocations: 0 / 0.7873 GB, free: 70.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/2.501, allocations: 0 / 0.7873 GB, free: 70.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/2.502, allocations: 1.199 MB / 0.7884 GB, free: 68.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/2.502, allocations: 75.25 kB / 0.7885 GB, free: 68.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/2.502, allocations: 3.938 kB / 0.7885 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/2.502, allocations: 12.06 kB / 0.7885 GB, free: 68.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/2.502, allocations: 19.97 kB / 0.7885 GB, free: 68.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/2.502, allocations: 16 kB / 0.7886 GB, free: 68.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.906e-05/2.502, allocations: 93.8 kB / 0.7886 GB, free: 68.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.502, allocations: 0 / 0.7886 GB, free: 68.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008819/2.503, allocations: 398.8 kB / 0.789 GB, free: 68.37 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0009108/2.504, allocations: 0.5459 MB / 0.7896 GB, free: 67.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001263/2.505, allocations: 1.569 MB / 0.7911 GB, free: 66.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/2.505, allocations: 4 kB / 0.7911 GB, free: 66.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/2.507, allocations: 1.637 MB / 0.7927 GB, free: 64.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/2.509, allocations: 469.6 kB / 0.7931 GB, free: 63.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/2.511, allocations: 2.155 MB / 0.7952 GB, free: 61.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/2.512, allocations: 0.7115 MB / 0.7959 GB, free: 60.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006069/2.512, allocations: 179.4 kB / 0.7961 GB, free: 60.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/2.513, allocations: 83.44 kB / 0.7962 GB, free: 60.54 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/2.513, allocations: 4 kB / 0.7962 GB, free: 60.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.03894/2.552, allocations: 29.9 MB / 0.8254 GB, free: 31.11 MB / 0.5294 GB " [Timeout remaining time 657] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.557031461969018] Failed to read output from testmodel.py, exit status != 0: 2.558700805529952 2.570013748 0.10016709800000001 Calling exit ...