Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001372/0.001372, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.0016/0.0016, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.797 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.01381/0.01381, allocations: 2.819 MB / 315.2 MB, free: 80 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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.003653/0.003653, allocations: 68.17 kB / 439.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1104, allocations: 54.18 MB / 493.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2839/0.3943, allocations: 73.92 MB / 0.554 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04114/0.4354, allocations: 35.22 MB / 0.5884 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.4365, allocations: 4 kB / 0.5884 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003227/0.4398, allocations: 0.9938 MB / 0.5893 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02059/0.4603, allocations: 6.775 MB / 0.5959 GB, free: 364 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.4614, allocations: 270 kB / 0.5962 GB, free: 92 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.464, allocations: 1.342 MB / 0.5975 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.4642, allocations: 55.19 kB / 0.5976 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007753/0.465, allocations: 433.9 kB / 0.598 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.466, allocations: 481.4 kB / 0.5984 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.4661, allocations: 40 kB / 0.5985 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703/2.169, allocations: 167.9 MB / 0.7624 GB, free: 88.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/2.169, allocations: 152.7 kB / 0.7626 GB, free: 88.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006688/2.17, allocations: 486.9 kB / 0.763 GB, free: 87.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009943/2.18, allocations: 2.795 MB / 0.7658 GB, free: 86.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/2.18, allocations: 4 kB / 0.7658 GB, free: 86.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/2.18, allocations: 0 / 0.7658 GB, free: 86.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.457e-05/2.18, allocations: 0 / 0.7658 GB, free: 86.07 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.001483/2.181, allocations: 1.531 MB / 0.7673 GB, free: 84.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/2.181, allocations: 8.031 kB / 0.7673 GB, free: 84.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/2.185, allocations: 1.218 MB / 0.7685 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/2.186, allocations: 229.5 kB / 0.7687 GB, free: 83.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/2.186, allocations: 73.23 kB / 0.7688 GB, free: 83.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/2.186, allocations: 94.81 kB / 0.7688 GB, free: 83.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/2.188, allocations: 1.748 MB / 0.7705 GB, free: 82.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/2.188, allocations: 4 kB / 0.7706 GB, free: 82.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/2.188, allocations: 38.31 kB / 0.7706 GB, free: 82.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/2.188, allocations: 70.25 kB / 0.7707 GB, free: 82.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/2.19, allocations: 1.668 MB / 0.7723 GB, free: 81.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/2.193, allocations: 3.423 MB / 0.7756 GB, free: 79.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/2.194, allocations: 0.5348 MB / 0.7762 GB, free: 79.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/2.195, allocations: 0.4989 MB / 0.7766 GB, free: 78.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/2.196, allocations: 1.329 MB / 0.7779 GB, free: 77.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/2.196, allocations: 34.5 kB / 0.778 GB, free: 77.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.245e-06/2.196, allocations: 0 / 0.778 GB, free: 77.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002682/2.199, allocations: 1.53 MB / 0.7795 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/2.199, allocations: 88.14 kB / 0.7795 GB, free: 76.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/2.199, allocations: 145 kB / 0.7797 GB, free: 76.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/2.199, allocations: 33.64 kB / 0.7797 GB, free: 76.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/2.199, allocations: 402.8 kB / 0.7801 GB, free: 76.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/2.2, allocations: 0.5922 MB / 0.7807 GB, free: 75.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/2.2, allocations: 139.3 kB / 0.7808 GB, free: 75.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/2.2, allocations: 310 kB / 0.7811 GB, free: 75.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/2.2, allocations: 342.4 kB / 0.7814 GB, free: 75.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/2.201, allocations: 0.4912 MB / 0.7819 GB, free: 74.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/2.202, allocations: 1.033 MB / 0.7829 GB, free: 74.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/2.202, allocations: 4 kB / 0.7829 GB, free: 74.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001171/2.203, allocations: 1.053 MB / 0.784 GB, free: 73.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/2.203, allocations: 15.84 kB / 0.784 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/2.203, allocations: 7.938 kB / 0.784 GB, free: 73.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/2.203, allocations: 4 kB / 0.784 GB, free: 73.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/2.203, allocations: 30.61 kB / 0.784 GB, free: 73.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/2.203, allocations: 4 kB / 0.784 GB, free: 73.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/2.203, allocations: 90.08 kB / 0.7841 GB, free: 73.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/2.203, allocations: 20 kB / 0.7841 GB, free: 73.21 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.0003259/2.204, allocations: 226.5 kB / 0.7843 GB, free: 72.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/2.204, allocations: 51.56 kB / 0.7844 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/2.204, allocations: 35.88 kB / 0.7844 GB, free: 72.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/2.204, allocations: 8 kB / 0.7844 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/2.204, allocations: 0 / 0.7844 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/2.204, allocations: 3.984 kB / 0.7844 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/2.205, allocations: 0.7465 MB / 0.7852 GB, free: 72.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/2.205, allocations: 0 / 0.7852 GB, free: 72.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/2.205, allocations: 11.47 kB / 0.7852 GB, free: 72.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/2.205, allocations: 4 kB / 0.7852 GB, free: 72.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/2.205, allocations: 23.92 kB / 0.7852 GB, free: 72.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/2.205, allocations: 0 / 0.7852 GB, free: 72.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.205, allocations: 0 / 0.7852 GB, free: 72.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/2.206, allocations: 1.193 MB / 0.7864 GB, free: 70.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/2.206, allocations: 79.25 kB / 0.7864 GB, free: 70.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/2.206, allocations: 3.938 kB / 0.7864 GB, free: 70.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/2.206, allocations: 4 kB / 0.7864 GB, free: 70.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/2.206, allocations: 28.38 kB / 0.7865 GB, free: 70.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/2.206, allocations: 16 kB / 0.7865 GB, free: 70.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.747e-05/2.206, allocations: 95.27 kB / 0.7866 GB, free: 70.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/2.206, allocations: 0 / 0.7866 GB, free: 70.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008537/2.207, allocations: 390.8 kB / 0.787 GB, free: 70.28 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.0008729/2.208, allocations: 0.5396 MB / 0.7875 GB, free: 69.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001218/2.209, allocations: 1.583 MB / 0.789 GB, free: 68.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.209, allocations: 0 / 0.789 GB, free: 68.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008536/2.21, allocations: 1.64 MB / 0.7906 GB, free: 66.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/2.212, allocations: 469.5 kB / 0.7911 GB, free: 65.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/2.215, allocations: 2.152 MB / 0.7932 GB, free: 63.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/2.215, allocations: 0.7154 MB / 0.7939 GB, free: 62.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006187/2.216, allocations: 177.6 kB / 0.794 GB, free: 62.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/2.216, allocations: 83.44 kB / 0.7941 GB, free: 62.45 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/2.216, allocations: 0 / 0.7941 GB, free: 62.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.03989/2.256, allocations: 29.81 MB / 0.8232 GB, free: 32.87 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.191122783347964] Failed to read output from testmodel.py, exit status != 0: 2.2651923783123493 2.275424083 0.092932047 Calling exit ...