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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 202.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.01211/0.01211, allocations: 2.806 MB / 308.9 MB, free: 5.949 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 67.89 kB / 430.5 MB, free: 20.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1396, allocations: 52.96 MB / 483.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3162/0.4558, allocations: 83.74 MB / 0.5539 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0393/0.4951, allocations: 40.86 MB / 0.5938 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.4965, allocations: 8 kB / 0.5938 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.5005, allocations: 1.231 MB / 0.595 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02214/0.5227, allocations: 6.978 MB / 0.6018 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.5238, allocations: 278 kB / 0.602 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.5262, allocations: 1.338 MB / 0.6034 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.5263, allocations: 51.03 kB / 0.6034 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000636/0.527, allocations: 421.9 kB / 0.6038 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.5277, allocations: 0.4936 MB / 0.6043 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.5278, allocations: 40 kB / 0.6043 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.956/2.484, allocations: 169.9 MB / 0.7702 GB, free: 98.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/2.484, allocations: 147.5 kB / 0.7704 GB, free: 98.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007889/2.485, allocations: 0.5956 MB / 0.771 GB, free: 97.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009646/2.494, allocations: 2.784 MB / 0.7737 GB, free: 96.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/2.494, allocations: 0 / 0.7737 GB, free: 96.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/2.494, allocations: 0 / 0.7737 GB, free: 96.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.253e-05/2.494, allocations: 4 kB / 0.7737 GB, free: 96.06 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.001464/2.496, allocations: 1.623 MB / 0.7753 GB, free: 94.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/2.496, allocations: 12.03 kB / 0.7753 GB, free: 94.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/2.5, allocations: 1.217 MB / 0.7765 GB, free: 93.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/2.5, allocations: 286.2 kB / 0.7767 GB, free: 93.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/2.5, allocations: 71.88 kB / 0.7768 GB, free: 93.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/2.5, allocations: 90.62 kB / 0.7769 GB, free: 93.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/2.502, allocations: 1.709 MB / 0.7786 GB, free: 92.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/2.502, allocations: 0 / 0.7786 GB, free: 92.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/2.502, allocations: 39.44 kB / 0.7786 GB, free: 92.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/2.502, allocations: 75.56 kB / 0.7787 GB, free: 92.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/2.505, allocations: 1.608 MB / 0.7802 GB, free: 91.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/2.51, allocations: 8.585 MB / 0.7886 GB, free: 83.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/2.51, allocations: 0.5248 MB / 0.7891 GB, free: 82.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/2.511, allocations: 0.4981 MB / 0.7896 GB, free: 82.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/2.512, allocations: 2.348 MB / 0.7919 GB, free: 80.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/2.512, allocations: 37.19 kB / 0.792 GB, free: 80.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.984e-06/2.512, allocations: 0 / 0.792 GB, free: 80.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01057/2.523, allocations: 1.515 MB / 0.7934 GB, free: 79.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/2.523, allocations: 81.11 kB / 0.7935 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/2.523, allocations: 141.1 kB / 0.7936 GB, free: 79.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/2.523, allocations: 25.7 kB / 0.7937 GB, free: 79.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/2.523, allocations: 412.4 kB / 0.7941 GB, free: 78.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/2.523, allocations: 0.593 MB / 0.7946 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/2.524, allocations: 140.2 kB / 0.7948 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/2.524, allocations: 312.6 kB / 0.7951 GB, free: 77.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/2.524, allocations: 333.5 kB / 0.7954 GB, free: 77.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/2.524, allocations: 0.4921 MB / 0.7959 GB, free: 77.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/2.525, allocations: 1.023 MB / 0.7969 GB, free: 76.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/2.525, allocations: 0 / 0.7969 GB, free: 76.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001051/2.526, allocations: 1.049 MB / 0.7979 GB, free: 75.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/2.526, allocations: 8.062 kB / 0.7979 GB, free: 75.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.526, allocations: 7.938 kB / 0.7979 GB, free: 75.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/2.526, allocations: 7.984 kB / 0.7979 GB, free: 75.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/2.526, allocations: 27.56 kB / 0.7979 GB, free: 75.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/2.526, allocations: 10.7 kB / 0.798 GB, free: 75.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/2.527, allocations: 87.14 kB / 0.798 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/2.527, allocations: 20.06 kB / 0.7981 GB, free: 75.38 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.0003092/2.527, allocations: 219.3 kB / 0.7983 GB, free: 75.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/2.527, allocations: 59.56 kB / 0.7983 GB, free: 75.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/2.527, allocations: 35.89 kB / 0.7984 GB, free: 75.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/2.527, allocations: 11.97 kB / 0.7984 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/2.527, allocations: 0 / 0.7984 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/2.527, allocations: 0 / 0.7984 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/2.528, allocations: 1.054 MB / 0.7994 GB, free: 73.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/2.528, allocations: 3.938 kB / 0.7994 GB, free: 73.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/2.528, allocations: 7.094 kB / 0.7994 GB, free: 73.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/2.528, allocations: 4 kB / 0.7994 GB, free: 73.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/2.528, allocations: 8 kB / 0.7994 GB, free: 73.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/2.528, allocations: 8 kB / 0.7994 GB, free: 73.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.528, allocations: 0 / 0.7994 GB, free: 73.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/2.529, allocations: 1.194 MB / 0.8006 GB, free: 72.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/2.529, allocations: 160.2 kB / 0.8007 GB, free: 72.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/2.529, allocations: 8 kB / 0.8008 GB, free: 72.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/2.53, allocations: 0 / 0.8008 GB, free: 72.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/2.53, allocations: 23.98 kB / 0.8008 GB, free: 72.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/2.53, allocations: 16 kB / 0.8008 GB, free: 72.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.616e-05/2.53, allocations: 99.2 kB / 0.8009 GB, free: 72.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.53, allocations: 0 / 0.8009 GB, free: 72.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008624/2.531, allocations: 379 kB / 0.8012 GB, free: 72.02 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.0008388/2.531, allocations: 0.5368 MB / 0.8018 GB, free: 71.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001192/2.533, allocations: 1.555 MB / 0.8033 GB, free: 69.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/2.533, allocations: 0 / 0.8033 GB, free: 69.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007559/2.533, allocations: 1.641 MB / 0.8049 GB, free: 67.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/2.535, allocations: 473.6 kB / 0.8053 GB, free: 67.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/2.538, allocations: 2.138 MB / 0.8074 GB, free: 65.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/2.539, allocations: 1.297 MB / 0.8087 GB, free: 63.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001504/2.54, allocations: 182.2 kB / 0.8089 GB, free: 63.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/2.54, allocations: 79.38 kB / 0.8089 GB, free: 63.65 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/2.54, allocations: 0 / 0.8089 GB, free: 63.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.03872/2.579, allocations: 28.69 MB / 0.837 GB, free: 35.38 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 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.479905519168824] Failed to read output from testmodel.py, exit status != 0: 2.58732870221138 2.596533527 0.099715039 Calling exit ...