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.001661/0.001661, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001548/0.001548, allocations: 218.5 kB / 22.99 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 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.01236/0.01236, allocations: 2.805 MB / 316 MB, free: 104 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.002388/0.002388, allocations: 71.89 kB / 439.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1129, allocations: 54.17 MB / 494.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.321/0.4339, allocations: 73.94 MB / 0.5547 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04042/0.4743, allocations: 35.21 MB / 0.5891 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.4756, allocations: 4 kB / 0.5891 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.479, allocations: 0.9899 MB / 0.5901 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02149/0.5005, allocations: 6.775 MB / 0.5967 GB, free: 396 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.5016, allocations: 278 kB / 0.597 GB, free: 116 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.5037, allocations: 1.342 MB / 0.5983 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.5039, allocations: 47.2 kB / 0.5983 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.5044, allocations: 433.9 kB / 0.5987 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.5051, allocations: 477.4 kB / 0.5992 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.5052, allocations: 40 kB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037/2.542, allocations: 170 MB / 0.7653 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/2.543, allocations: 151.7 kB / 0.7654 GB, free: 86.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009482/2.543, allocations: 486.5 kB / 0.7659 GB, free: 86.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/2.557, allocations: 2.79 MB / 0.7686 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/2.557, allocations: 0 / 0.7686 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.944e-06/2.557, allocations: 0 / 0.7686 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.298e-05/2.557, allocations: 3 kB / 0.7686 GB, free: 84.33 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.001523/2.559, allocations: 1.535 MB / 0.7701 GB, free: 82.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/2.559, allocations: 8.031 kB / 0.7701 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/2.563, allocations: 1.22 MB / 0.7713 GB, free: 82.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/2.563, allocations: 226.9 kB / 0.7715 GB, free: 81.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/2.563, allocations: 69.25 kB / 0.7716 GB, free: 81.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/2.564, allocations: 96.62 kB / 0.7717 GB, free: 81.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/2.567, allocations: 1.753 MB / 0.7734 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/2.567, allocations: 0 / 0.7734 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/2.567, allocations: 38.12 kB / 0.7734 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/2.567, allocations: 74.61 kB / 0.7735 GB, free: 80.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/2.569, allocations: 1.668 MB / 0.7751 GB, free: 79.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/2.574, allocations: 3.427 MB / 0.7785 GB, free: 77.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/2.574, allocations: 0.5196 MB / 0.779 GB, free: 77.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/2.575, allocations: 0.5047 MB / 0.7795 GB, free: 77.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/2.576, allocations: 1.316 MB / 0.7807 GB, free: 76.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/2.576, allocations: 53.23 kB / 0.7808 GB, free: 76.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.254e-06/2.576, allocations: 0 / 0.7808 GB, free: 76.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01379/2.59, allocations: 1.527 MB / 0.7823 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/2.59, allocations: 77.11 kB / 0.7824 GB, free: 75.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/2.59, allocations: 141 kB / 0.7825 GB, free: 74.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/2.59, allocations: 25.7 kB / 0.7825 GB, free: 74.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/2.59, allocations: 404.8 kB / 0.7829 GB, free: 74.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/2.591, allocations: 0.6008 MB / 0.7835 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/2.591, allocations: 142.5 kB / 0.7836 GB, free: 73.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/2.591, allocations: 306 kB / 0.7839 GB, free: 73.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/2.591, allocations: 338.4 kB / 0.7842 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/2.592, allocations: 0.4955 MB / 0.7847 GB, free: 73.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/2.593, allocations: 1.031 MB / 0.7857 GB, free: 72.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/2.593, allocations: 4 kB / 0.7857 GB, free: 72.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001182/2.594, allocations: 1.054 MB / 0.7868 GB, free: 71.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/2.594, allocations: 11.94 kB / 0.7868 GB, free: 71.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/2.594, allocations: 4 kB / 0.7868 GB, free: 71.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/2.594, allocations: 4 kB / 0.7868 GB, free: 71.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/2.594, allocations: 30.33 kB / 0.7868 GB, free: 71.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/2.594, allocations: 4 kB / 0.7868 GB, free: 71.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/2.594, allocations: 91.08 kB / 0.7869 GB, free: 71.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/2.595, allocations: 26.23 kB / 0.7869 GB, free: 71.34 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.0003624/2.595, allocations: 222.8 kB / 0.7871 GB, free: 71.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/2.595, allocations: 59.56 kB / 0.7872 GB, free: 71.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/2.595, allocations: 31.89 kB / 0.7872 GB, free: 71.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/2.595, allocations: 3.984 kB / 0.7872 GB, free: 71.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/2.595, allocations: 8.062 kB / 0.7872 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/2.595, allocations: 0 / 0.7872 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008051/2.596, allocations: 0.7462 MB / 0.788 GB, free: 70.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/2.596, allocations: 3.984 kB / 0.788 GB, free: 70.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/2.596, allocations: 14.56 kB / 0.788 GB, free: 70.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/2.596, allocations: 0 / 0.788 GB, free: 70.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/2.596, allocations: 15.94 kB / 0.788 GB, free: 70.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/2.596, allocations: 8 kB / 0.788 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.596, allocations: 0 / 0.788 GB, free: 70.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/2.597, allocations: 1.195 MB / 0.7892 GB, free: 69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/2.597, allocations: 79.23 kB / 0.7892 GB, free: 68.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/2.597, allocations: 7.938 kB / 0.7893 GB, free: 68.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/2.597, allocations: 0 / 0.7893 GB, free: 68.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/2.598, allocations: 23.98 kB / 0.7893 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/2.598, allocations: 16 kB / 0.7893 GB, free: 68.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.336e-05/2.598, allocations: 91.27 kB / 0.7894 GB, free: 68.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.598, allocations: 3.938 kB / 0.7894 GB, free: 68.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001733/2.599, allocations: 390.9 kB / 0.7898 GB, free: 68.39 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.001139/2.6, allocations: 0.5545 MB / 0.7903 GB, free: 67.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001442/2.602, allocations: 1.567 MB / 0.7918 GB, free: 66.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.602, allocations: 4 kB / 0.7918 GB, free: 66.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009981/2.603, allocations: 1.642 MB / 0.7934 GB, free: 64.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/2.605, allocations: 473.5 kB / 0.7939 GB, free: 63.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/2.608, allocations: 2.294 MB / 0.7961 GB, free: 61.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/2.609, allocations: 0.7076 MB / 0.7968 GB, free: 60.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/2.609, allocations: 83.42 kB / 0.7969 GB, free: 60.59 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/2.609, allocations: 4 kB / 0.7969 GB, free: 60.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.02841/2.637, allocations: 19.51 MB / 0.816 GB, free: 41.54 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: 10.075878873001784] Failed to read output from testmodel.py, exit status != 0: 2.6462782425805926 2.66431618 0.103372238 Calling exit ...