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.001765/0.001765, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001551/0.001551, allocations: 217.4 kB / 22.25 MB, free: 5.121 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.988 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.01295/0.01295, allocations: 2.8 MB / 315.2 MB, free: 292 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.002075/0.002075, allocations: 67.89 kB / 439.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09933, allocations: 54.17 MB / 493.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2865/0.3858, allocations: 83.87 MB / 0.5637 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0406/0.4264, allocations: 40.86 MB / 0.6036 GB, free: 9.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.4279, allocations: 4 kB / 0.6036 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.4313, allocations: 1.239 MB / 0.6049 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02136/0.4527, allocations: 6.978 MB / 0.6117 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.4537, allocations: 270.1 kB / 0.6119 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.4559, allocations: 1.35 MB / 0.6132 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4561, allocations: 51.2 kB / 0.6133 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.4565, allocations: 425.9 kB / 0.6137 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.4572, allocations: 0.4935 MB / 0.6142 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.4572, allocations: 40 kB / 0.6142 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96/2.417, allocations: 170 MB / 0.7803 GB, free: 60.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/2.417, allocations: 149.5 kB / 0.7804 GB, free: 60.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007188/2.418, allocations: 0.5958 MB / 0.781 GB, free: 59.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009591/2.428, allocations: 2.787 MB / 0.7837 GB, free: 58.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/2.428, allocations: 0 / 0.7837 GB, free: 58.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.774e-06/2.428, allocations: 0 / 0.7837 GB, free: 58.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.982e-05/2.428, allocations: 0 / 0.7837 GB, free: 58.04 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.429, allocations: 1.544 MB / 0.7852 GB, free: 56.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/2.429, allocations: 16.02 kB / 0.7852 GB, free: 56.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/2.433, allocations: 1.215 MB / 0.7864 GB, free: 55.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/2.433, allocations: 226.7 kB / 0.7866 GB, free: 55.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/2.433, allocations: 73 kB / 0.7867 GB, free: 55.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/2.433, allocations: 92.56 kB / 0.7868 GB, free: 55.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/2.435, allocations: 1.75 MB / 0.7885 GB, free: 54.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/2.435, allocations: 0 / 0.7885 GB, free: 54.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/2.435, allocations: 39.62 kB / 0.7885 GB, free: 54.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/2.435, allocations: 74.81 kB / 0.7886 GB, free: 54.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/2.437, allocations: 1.666 MB / 0.7902 GB, free: 53.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/2.441, allocations: 8.563 MB / 0.7986 GB, free: 45.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/2.442, allocations: 0.5179 MB / 0.7991 GB, free: 44.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/2.443, allocations: 0.5072 MB / 0.7996 GB, free: 44.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/2.444, allocations: 1.437 MB / 0.801 GB, free: 43.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/2.444, allocations: 30.56 kB / 0.801 GB, free: 43.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.883e-06/2.444, allocations: 0 / 0.801 GB, free: 43.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01009/2.454, allocations: 1.526 MB / 0.8025 GB, free: 42.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/2.454, allocations: 84.48 kB / 0.8026 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/2.454, allocations: 133.3 kB / 0.8027 GB, free: 42.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/2.454, allocations: 29.58 kB / 0.8028 GB, free: 42.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/2.455, allocations: 404.3 kB / 0.8032 GB, free: 41.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/2.455, allocations: 0.602 MB / 0.8037 GB, free: 41.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/2.455, allocations: 139.5 kB / 0.8039 GB, free: 41.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.434e-05/2.455, allocations: 310 kB / 0.8042 GB, free: 40.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/2.455, allocations: 340.5 kB / 0.8045 GB, free: 40.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/2.456, allocations: 0.4904 MB / 0.805 GB, free: 40.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/2.457, allocations: 1.034 MB / 0.806 GB, free: 39.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.457, allocations: 0 / 0.806 GB, free: 39.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00115/2.458, allocations: 1.054 MB / 0.807 GB, free: 39.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/2.458, allocations: 8.062 kB / 0.807 GB, free: 39.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/2.458, allocations: 4.078 kB / 0.807 GB, free: 39.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/2.458, allocations: 4 kB / 0.807 GB, free: 39.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/2.458, allocations: 33.27 kB / 0.8071 GB, free: 39.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/2.458, allocations: 9.859 kB / 0.8071 GB, free: 39.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/2.458, allocations: 90.31 kB / 0.8072 GB, free: 39.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/2.458, allocations: 19.94 kB / 0.8072 GB, free: 39.08 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.000292/2.459, allocations: 225.5 kB / 0.8074 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/2.459, allocations: 59.52 kB / 0.8074 GB, free: 38.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/2.459, allocations: 31.89 kB / 0.8075 GB, free: 38.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/2.459, allocations: 11.98 kB / 0.8075 GB, free: 38.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/2.459, allocations: 0 / 0.8075 GB, free: 38.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/2.459, allocations: 0 / 0.8075 GB, free: 38.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/2.46, allocations: 1.011 MB / 0.8085 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/2.46, allocations: 7.938 kB / 0.8085 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/2.46, allocations: 4 kB / 0.8085 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/2.46, allocations: 0 / 0.8085 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/2.46, allocations: 16 kB / 0.8085 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/2.46, allocations: 4 kB / 0.8085 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.46, allocations: 0 / 0.8085 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/2.461, allocations: 1.196 MB / 0.8097 GB, free: 36.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/2.461, allocations: 95.06 kB / 0.8098 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/2.461, allocations: 4.062 kB / 0.8098 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/2.461, allocations: 4 kB / 0.8098 GB, free: 36.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/2.461, allocations: 19.98 kB / 0.8098 GB, free: 36.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/2.461, allocations: 20 kB / 0.8098 GB, free: 36.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.435e-05/2.461, allocations: 91.27 kB / 0.8099 GB, free: 36.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.461, allocations: 0 / 0.8099 GB, free: 36.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008828/2.462, allocations: 383 kB / 0.8103 GB, free: 35.88 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.0008864/2.463, allocations: 0.5438 MB / 0.8108 GB, free: 35.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001363/2.464, allocations: 1.567 MB / 0.8123 GB, free: 33.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/2.464, allocations: 0 / 0.8123 GB, free: 33.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/2.466, allocations: 1.641 MB / 0.8139 GB, free: 31.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004281/2.47, allocations: 485.5 kB / 0.8144 GB, free: 31.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/2.474, allocations: 2.149 MB / 0.8165 GB, free: 29.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/2.475, allocations: 1.293 MB / 0.8178 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009636/2.476, allocations: 179.4 kB / 0.8179 GB, free: 27.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/2.477, allocations: 83.44 kB / 0.818 GB, free: 27.46 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/2.477, allocations: 0 / 0.818 GB, free: 27.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.06691/2.543, allocations: 29.85 MB / 0.8471 GB, free: 14.08 MB / 0.545 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.490961214061826] Failed to read output from testmodel.py, exit status != 0: 2.5514961581211537 2.568765146 0.13772897 Calling exit ...