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.0018/0.0018, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002365/0.002365, allocations: 215.6 kB / 23.01 MB, free: 4.609 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.01249/0.01249, allocations: 2.795 MB / 316 MB, free: 340 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.001988/0.001988, allocations: 71.89 kB / 440 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08832, allocations: 54.17 MB / 494.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2532/0.3415, allocations: 83.87 MB / 0.5645 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04077/0.3823, allocations: 40.86 MB / 0.6044 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.3833, allocations: 4 kB / 0.6044 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.3864, allocations: 1.247 MB / 0.6056 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01819/0.4046, allocations: 6.966 MB / 0.6124 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.4055, allocations: 270 kB / 0.6127 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.4075, allocations: 1.342 MB / 0.614 GB, free: 4 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.4077, allocations: 59.19 kB / 0.614 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.4083, allocations: 437.8 kB / 0.6144 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/0.4091, allocations: 0.4935 MB / 0.6149 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.4092, allocations: 36 kB / 0.615 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.937/2.346, allocations: 170 MB / 0.781 GB, free: 60.44 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/2.346, allocations: 161 kB / 0.7812 GB, free: 60.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007407/2.347, allocations: 0.587 MB / 0.7817 GB, free: 60.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009801/2.357, allocations: 2.788 MB / 0.7845 GB, free: 58.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/2.357, allocations: 2.812 kB / 0.7845 GB, free: 58.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/2.357, allocations: 0 / 0.7845 GB, free: 58.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.794e-05/2.357, allocations: 3.938 kB / 0.7845 GB, free: 58.19 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.001377/2.358, allocations: 1.544 MB / 0.786 GB, free: 56.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/2.358, allocations: 8.031 kB / 0.786 GB, free: 56.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/2.362, allocations: 1.213 MB / 0.7872 GB, free: 56.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/2.362, allocations: 237.1 kB / 0.7874 GB, free: 55.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/2.362, allocations: 75.19 kB / 0.7875 GB, free: 55.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/2.362, allocations: 89.38 kB / 0.7876 GB, free: 55.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/2.364, allocations: 1.747 MB / 0.7893 GB, free: 54.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/2.364, allocations: 0 / 0.7893 GB, free: 54.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/2.364, allocations: 38.94 kB / 0.7893 GB, free: 54.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/2.364, allocations: 70.81 kB / 0.7894 GB, free: 54.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/2.366, allocations: 1.669 MB / 0.791 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004793/2.37, allocations: 8.562 MB / 0.7994 GB, free: 45.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/2.371, allocations: 0.5295 MB / 0.7999 GB, free: 44.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/2.371, allocations: 0.5091 MB / 0.8004 GB, free: 44.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/2.373, allocations: 1.415 MB / 0.8017 GB, free: 43.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/2.373, allocations: 46.42 kB / 0.8018 GB, free: 43.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.873e-06/2.373, allocations: 0 / 0.8018 GB, free: 43.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.008797/2.382, allocations: 1.532 MB / 0.8033 GB, free: 42.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/2.382, allocations: 77.11 kB / 0.8034 GB, free: 42.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/2.382, allocations: 129.2 kB / 0.8035 GB, free: 42.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/2.382, allocations: 33.58 kB / 0.8035 GB, free: 42.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/2.382, allocations: 404.5 kB / 0.8039 GB, free: 42.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/2.382, allocations: 0.5984 MB / 0.8045 GB, free: 41.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/2.382, allocations: 143.5 kB / 0.8046 GB, free: 41.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.457e-05/2.382, allocations: 306 kB / 0.8049 GB, free: 41.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/2.383, allocations: 341.8 kB / 0.8052 GB, free: 40.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/2.383, allocations: 0.4924 MB / 0.8057 GB, free: 40.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/2.384, allocations: 1.026 MB / 0.8067 GB, free: 40.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/2.384, allocations: 4 kB / 0.8067 GB, free: 40.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001117/2.385, allocations: 1.057 MB / 0.8078 GB, free: 39.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/2.385, allocations: 8 kB / 0.8078 GB, free: 39.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/2.385, allocations: 4 kB / 0.8078 GB, free: 39.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/2.385, allocations: 4.406 kB / 0.8078 GB, free: 39.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/2.385, allocations: 34.14 kB / 0.8078 GB, free: 39.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/2.385, allocations: 10.78 kB / 0.8078 GB, free: 39.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/2.386, allocations: 86.52 kB / 0.8079 GB, free: 39.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/2.386, allocations: 19.12 kB / 0.8079 GB, free: 39.23 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.0002782/2.386, allocations: 220.4 kB / 0.8081 GB, free: 39.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/2.386, allocations: 55.52 kB / 0.8082 GB, free: 38.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/2.386, allocations: 35.88 kB / 0.8082 GB, free: 38.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/2.386, allocations: 8 kB / 0.8082 GB, free: 38.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/2.386, allocations: 0 / 0.8082 GB, free: 38.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/2.386, allocations: 11.92 kB / 0.8082 GB, free: 38.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/2.387, allocations: 1.011 MB / 0.8092 GB, free: 37.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/2.387, allocations: 3.938 kB / 0.8092 GB, free: 37.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/2.387, allocations: 8 kB / 0.8092 GB, free: 37.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/2.387, allocations: 0 / 0.8092 GB, free: 37.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/2.387, allocations: 16 kB / 0.8093 GB, free: 37.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/2.387, allocations: 0 / 0.8093 GB, free: 37.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.387, allocations: 0 / 0.8093 GB, free: 37.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/2.388, allocations: 1.206 MB / 0.8104 GB, free: 36.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/2.388, allocations: 87.08 kB / 0.8105 GB, free: 36.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/2.388, allocations: 8 kB / 0.8105 GB, free: 36.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/2.389, allocations: 0 / 0.8105 GB, free: 36.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/2.389, allocations: 19.98 kB / 0.8105 GB, free: 36.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/2.389, allocations: 23.92 kB / 0.8106 GB, free: 36.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.402e-05/2.389, allocations: 91.72 kB / 0.8107 GB, free: 36.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.389, allocations: 4 kB / 0.8107 GB, free: 36.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008344/2.389, allocations: 383 kB / 0.811 GB, free: 36.04 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.0008272/2.39, allocations: 0.5385 MB / 0.8115 GB, free: 35.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001188/2.391, allocations: 1.568 MB / 0.8131 GB, free: 33.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.391, allocations: 0 / 0.8131 GB, free: 33.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/2.392, allocations: 1.642 MB / 0.8147 GB, free: 31.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/2.394, allocations: 477.5 kB / 0.8151 GB, free: 31.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/2.397, allocations: 2.296 MB / 0.8174 GB, free: 29.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/2.398, allocations: 1.293 MB / 0.8186 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/2.398, allocations: 79.44 kB / 0.8187 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/2.398, allocations: 0 / 0.8187 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of Templates: time 0.02136/2.419, allocations: 18.68 MB / 0.837 GB, free: 9.457 MB / 0.5294 GB " [Timeout remaining time 658] 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.019938428187743] Failed to read output from testmodel.py, exit status != 0: 2.4260002421215177 2.439237669 0.07932639799999994 Calling exit ...