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.001243/0.001243, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001476/0.001476, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9604/0.9604, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007842/0.007842, allocations: 1.999 MB / 261.9 MB, free: 11.05 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.289e-05, allocations: 2.312 kB / 332.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.007719/0.007732, allocations: 14.99 MB / 347.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.01318, allocations: 8.992 MB / 356.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.01348, allocations: 4 kB / 356.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.01392, allocations: 317.6 kB / 356.7 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.01655, allocations: 1.717 MB / 358.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.01693, allocations: 218.3 kB / 358.6 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.0178, allocations: 1.438 MB / 360 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.0179, allocations: 51.22 kB / 360.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.01832, allocations: 0.6114 MB / 360.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.01863, allocations: 398.8 kB / 361.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.01867, allocations: 40 kB / 361.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6976/0.7163, allocations: 22.07 MB / 383.2 MB, free: 16 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.7164, allocations: 159 kB / 383.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.717, allocations: 399 kB / 383.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.7193, allocations: 1.124 MB / 384.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7193, allocations: 0 / 384.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7193, allocations: 4 kB / 384.9 MB, free: 14.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.7193, allocations: 3.938 kB / 384.9 MB, free: 14.33 MB / 314.7 MB 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.001246/0.7205, allocations: 1.36 MB / 386.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.7206, allocations: 12.03 kB / 386.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.7252, allocations: 2.703 MB / 388.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.7254, allocations: 235 kB / 389.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/0.7255, allocations: 74.38 kB / 389.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/0.7256, allocations: 92.38 kB / 389.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.7268, allocations: 0.9407 MB / 390.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.7269, allocations: 0 / 390.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.7269, allocations: 44 kB / 390.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.727, allocations: 71.94 kB / 390.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.7278, allocations: 0.6053 MB / 391 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/0.7314, allocations: 3.177 MB / 394.2 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.7319, allocations: 368 kB / 394.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.7323, allocations: 323.3 kB / 394.8 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.7339, allocations: 1.447 MB / 396.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.734, allocations: 37.39 kB / 396.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=182): time 1.864e-06/0.734, allocations: 3.938 kB / 396.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=182): time 0.001399/0.7354, allocations: 1.234 MB / 397.6 MB, free: 1.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.7354, allocations: 81.05 kB / 397.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.7355, allocations: 205.7 kB / 397.9 MB, free: 1.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.7355, allocations: 37.62 kB / 397.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.7357, allocations: 456.7 kB / 398.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.736, allocations: 0.5923 MB / 398.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.7361, allocations: 155.2 kB / 399.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7362, allocations: 484.4 kB / 399.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.7364, allocations: 181.9 kB / 399.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.7367, allocations: 398.8 kB / 400.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.7373, allocations: 0.7532 MB / 400.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7373, allocations: 4 kB / 400.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0008064/0.7381, allocations: 0.8952 MB / 401.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7381, allocations: 8 kB / 401.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7381, allocations: 7.938 kB / 401.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7381, allocations: 7.938 kB / 401.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.7382, allocations: 31.98 kB / 401.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.7383, allocations: 11.94 kB / 401.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.7384, allocations: 83.58 kB / 401.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.7384, allocations: 24 kB / 401.9 MB, free: 12.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001709/0.7386, allocations: 174.8 kB / 402.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.7387, allocations: 55.62 kB / 402.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.7387, allocations: 43.86 kB / 402.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7387, allocations: 12 kB / 402.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7388, allocations: 0 / 402.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7388, allocations: 3.984 kB / 402.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.7396, allocations: 0.7424 MB / 403 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7396, allocations: 0 / 403 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.7396, allocations: 11.98 kB / 403 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7396, allocations: 4 kB / 403 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.7396, allocations: 12 kB / 403 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7397, allocations: 11.92 kB / 403 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7397, allocations: 0 / 403 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.7405, allocations: 1.142 MB / 404.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.7405, allocations: 79.19 kB / 404.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.7406, allocations: 7.984 kB / 404.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.7407, allocations: 7.938 kB / 404.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.7407, allocations: 19.98 kB / 404.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.7407, allocations: 12 kB / 404.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.7408, allocations: 139.2 kB / 404.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7408, allocations: 0 / 404.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.7412, allocations: 366.9 kB / 404.8 MB, free: 9.93 MB / 330.7 MB 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.0005666/0.7418, allocations: 319.8 kB / 405.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009386/0.7428, allocations: 1.331 MB / 406.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7428, allocations: 0 / 406.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.7435, allocations: 1.561 MB / 408 MB, free: 6.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.7447, allocations: 480 kB / 408.4 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.7469, allocations: 1.998 MB / 410.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.7471, allocations: 315 kB / 410.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004405/0.7476, allocations: 175.6 kB / 410.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.7477, allocations: 76.5 kB / 411 MB, free: 3.133 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7477, allocations: 0 / 411 MB, free: 3.133 MB / 330.7 MB Notification: Performance of Templates: time 0.1327/0.8804, allocations: 25.08 MB / 436.1 MB, free: 66.07 MB / 330.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.884778659790754]