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.0009966/0.0009966, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001577/0.001577, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9687/0.9687, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.007593/0.007593, allocations: 1.992 MB / 263 MB, free: 10.9 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.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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 333.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.778e-05, allocations: 5.125 kB / 333.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.007584/0.007602, allocations: 14.85 MB / 348.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.01348, allocations: 8.895 MB / 357.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.01391, allocations: 4 kB / 357.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.01442, allocations: 317.6 kB / 357.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.01745, allocations: 1.714 MB / 359.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.01794, allocations: 226.3 kB / 359.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.01899, allocations: 1.434 MB / 361 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.0191, allocations: 51.2 kB / 361.1 MB, free: 5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.01956, allocations: 0.6153 MB / 361.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.0199, allocations: 398.8 kB / 362.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.01995, allocations: 40 kB / 362.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5844/0.6044, allocations: 21.8 MB / 383.9 MB, free: 248 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.6045, allocations: 151 kB / 384.1 MB, free: 96 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.6049, allocations: 403 kB / 384.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.6063, allocations: 1.128 MB / 385.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6063, allocations: 0 / 385.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.6063, allocations: 0 / 385.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.6063, allocations: 0 / 385.6 MB, free: 14.56 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.0008802/0.6072, allocations: 1.383 MB / 387 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.6072, allocations: 8.031 kB / 387 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.6103, allocations: 2.703 MB / 389.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.6105, allocations: 235.1 kB / 389.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.6105, allocations: 74.38 kB / 390 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.6106, allocations: 92.38 kB / 390.1 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.6113, allocations: 0.8273 MB / 390.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.6113, allocations: 0 / 390.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.6113, allocations: 40 kB / 390.9 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.6113, allocations: 71.88 kB / 391 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.6117, allocations: 467.8 kB / 391.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.6142, allocations: 3.1 MB / 394.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.6145, allocations: 307.9 kB / 394.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.6147, allocations: 267.3 kB / 395.1 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000976/0.6156, allocations: 1.459 MB / 396.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.6157, allocations: 41.39 kB / 396.6 MB, free: 3.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=182): time 1.212e-06/0.6157, allocations: 0 / 396.6 MB, free: 3.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=182): time 0.0009031/0.6166, allocations: 1.132 MB / 397.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.6166, allocations: 77.11 kB / 397.8 MB, free: 2.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.6167, allocations: 197.7 kB / 398 MB, free: 1.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6167, allocations: 29.7 kB / 398.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6169, allocations: 456.7 kB / 398.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.6171, allocations: 0.5999 MB / 399.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.6173, allocations: 163.2 kB / 399.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.6174, allocations: 484.4 kB / 399.7 MB, free: 132 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.6175, allocations: 146 kB / 399.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.6177, allocations: 370.6 kB / 400.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.6181, allocations: 0.6711 MB / 400.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6181, allocations: 8 kB / 400.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0006386/0.6188, allocations: 0.8171 MB / 401.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6188, allocations: 8.438 kB / 401.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6188, allocations: 8 kB / 401.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.6188, allocations: 7.938 kB / 401.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.6189, allocations: 31.92 kB / 401.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6189, allocations: 4 kB / 401.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.619, allocations: 87.14 kB / 401.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.6191, allocations: 16 kB / 401.9 MB, free: 13.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.000159/0.6192, allocations: 182.4 kB / 402.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.6193, allocations: 59.56 kB / 402.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.6194, allocations: 31.89 kB / 402.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6194, allocations: 19.92 kB / 402.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6194, allocations: 0 / 402.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6194, allocations: 0 / 402.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.6199, allocations: 0.6336 MB / 402.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6199, allocations: 4 kB / 402.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.6199, allocations: 7.984 kB / 402.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6199, allocations: 0 / 402.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.6199, allocations: 12 kB / 402.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6199, allocations: 0 / 402.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.6199, allocations: 4 kB / 402.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.6206, allocations: 1.076 MB / 403.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.6206, allocations: 91.11 kB / 404 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.6207, allocations: 8 kB / 404 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6208, allocations: 3.984 kB / 404 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.6208, allocations: 23.92 kB / 404 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6208, allocations: 16 kB / 404.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.6209, allocations: 135.5 kB / 404.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6209, allocations: 0 / 404.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.6213, allocations: 363 kB / 404.5 MB, free: 11.12 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.000421/0.6217, allocations: 315.4 kB / 404.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.6225, allocations: 1.272 MB / 406.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6225, allocations: 0 / 406.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.6232, allocations: 1.534 MB / 407.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6245, allocations: 479.6 kB / 408.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.6262, allocations: 1.978 MB / 410.1 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.6264, allocations: 311 kB / 410.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003659/0.6267, allocations: 183.5 kB / 410.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005827/0.6273, allocations: 465.9 kB / 411 MB, free: 4.047 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6273, allocations: 0 / 411 MB, free: 4.047 MB / 330.7 MB Notification: Performance of Templates: time 0.1161/0.7434, allocations: 25.98 MB / 437 MB, free: 66.5 MB / 330.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.102276004850864]