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.001856/0.001856, allocations: 88.72 kB / 19.44 MB, free: 328 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.002393/0.002393, allocations: 161.7 kB / 22.76 MB, free: 1.652 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 1.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] 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.01248/0.01248, allocations: 1.993 MB / 261.5 MB, free: 10.96 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.513e-06/1.513e-06, allocations: 0 / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.274e-05, allocations: 2.312 kB / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.08446/0.08448, allocations: 73.55 MB / 405.2 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.2669, allocations: 35.2 MB / 440.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000881/0.2678, allocations: 6.812 kB / 440.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.2702, allocations: 1.018 MB / 441.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01749/0.2877, allocations: 7.026 MB / 448.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.2886, allocations: 288.6 kB / 448.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2901, allocations: 1.436 MB / 450.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2903, allocations: 47.92 kB / 450.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009222/0.2912, allocations: 0.6173 MB / 450.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.2918, allocations: 393.7 kB / 451.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.2919, allocations: 41.78 kB / 451.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.436/2.728, allocations: 278.8 MB / 0.7129 GB, free: 13.56 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/2.728, allocations: 154.7 kB / 0.7131 GB, free: 13.53 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/2.729, allocations: 404 kB / 0.7134 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009953/2.739, allocations: 2.787 MB / 0.7162 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/2.739, allocations: 0 / 0.7162 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/2.739, allocations: 0 / 0.7162 GB, free: 11.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.641e-05/2.739, allocations: 0 / 0.7162 GB, free: 11.52 MB / 458.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.002269/2.742, allocations: 1.527 MB / 0.7177 GB, free: 10.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/2.742, allocations: 8.031 kB / 0.7177 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/2.748, allocations: 2.711 MB / 0.7203 GB, free: 8.426 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/2.748, allocations: 223.7 kB / 0.7205 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/2.748, allocations: 74.56 kB / 0.7206 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/2.748, allocations: 90.94 kB / 0.7207 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/2.751, allocations: 1.748 MB / 0.7224 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/2.751, allocations: 0 / 0.7224 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/2.751, allocations: 44.19 kB / 0.7224 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/2.751, allocations: 71.12 kB / 0.7225 GB, free: 7.012 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/2.753, allocations: 1.661 MB / 0.7241 GB, free: 6.051 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005376/2.758, allocations: 3.475 MB / 0.7275 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/2.759, allocations: 0.521 MB / 0.728 GB, free: 2.141 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/2.76, allocations: 0.5016 MB / 0.7285 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002256/2.762, allocations: 1.336 MB / 0.7298 GB, free: 292 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/2.762, allocations: 42.56 kB / 0.7299 GB, free: 240 kB / 458.7 MB Notification: Performance of pre-optimization done (n=182): time 2.034e-06/2.762, allocations: 2.297 kB / 0.7299 GB, free: 240 kB / 458.7 MB Notification: Performance of matching and sorting (n=182): time 0.1141/2.876, allocations: 1.536 MB / 0.7314 GB, free: 215.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/2.876, allocations: 80.77 kB / 0.7314 GB, free: 215.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/2.876, allocations: 137.6 kB / 0.7316 GB, free: 215.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/2.876, allocations: 29.33 kB / 0.7316 GB, free: 215.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/2.877, allocations: 400.3 kB / 0.732 GB, free: 215.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/2.877, allocations: 0.5952 MB / 0.7326 GB, free: 214.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/2.877, allocations: 138.6 kB / 0.7327 GB, free: 214.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/2.877, allocations: 307.8 kB / 0.733 GB, free: 214.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/2.878, allocations: 348.3 kB / 0.7333 GB, free: 214.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/2.878, allocations: 0.4908 MB / 0.7338 GB, free: 214 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/2.879, allocations: 1.036 MB / 0.7348 GB, free: 213.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.879, allocations: 1.219 kB / 0.7348 GB, free: 213.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001176/2.88, allocations: 1.071 MB / 0.7359 GB, free: 212.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/2.88, allocations: 6.844 kB / 0.7359 GB, free: 212.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/2.88, allocations: 4.125 kB / 0.7359 GB, free: 212.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/2.88, allocations: 8.688 kB / 0.7359 GB, free: 212.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/2.88, allocations: 31.11 kB / 0.7359 GB, free: 212.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/2.88, allocations: 12.8 kB / 0.7359 GB, free: 212.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/2.881, allocations: 91.11 kB / 0.736 GB, free: 212.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/2.881, allocations: 25.38 kB / 0.736 GB, free: 212.7 MB / 458.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.0003108/2.881, allocations: 222 kB / 0.7362 GB, free: 212.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/2.881, allocations: 61.56 kB / 0.7363 GB, free: 212.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.275e-05/2.881, allocations: 30.77 kB / 0.7363 GB, free: 212.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/2.881, allocations: 10.36 kB / 0.7363 GB, free: 212.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/2.881, allocations: 0 / 0.7363 GB, free: 212.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/2.881, allocations: 1.375 kB / 0.7363 GB, free: 212.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/2.882, allocations: 0.7485 MB / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/2.882, allocations: 2.531 kB / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/2.882, allocations: 6.891 kB / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/2.882, allocations: 1.969 kB / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/2.882, allocations: 19.67 kB / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/2.882, allocations: 1.922 kB / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.882, allocations: 0 / 0.7371 GB, free: 212 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/2.883, allocations: 1.204 MB / 0.7383 GB, free: 211.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/2.883, allocations: 84.7 kB / 0.7384 GB, free: 211.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/2.883, allocations: 3.938 kB / 0.7384 GB, free: 211.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/2.884, allocations: 4 kB / 0.7384 GB, free: 211.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/2.884, allocations: 25.31 kB / 0.7384 GB, free: 211.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/2.884, allocations: 15.84 kB / 0.7384 GB, free: 211.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/2.884, allocations: 90.31 kB / 0.7385 GB, free: 211.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/2.884, allocations: 0 / 0.7385 GB, free: 211.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008367/2.885, allocations: 391.7 kB / 0.7389 GB, free: 211.1 MB / 458.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.0009232/2.886, allocations: 0.5422 MB / 0.7394 GB, free: 210.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/2.887, allocations: 1.574 MB / 0.7409 GB, free: 209.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/2.887, allocations: 0 / 0.7409 GB, free: 209.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007652/2.887, allocations: 1.64 MB / 0.7425 GB, free: 208.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/2.89, allocations: 488.3 kB / 0.743 GB, free: 208 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/2.892, allocations: 2.151 MB / 0.7451 GB, free: 206.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/2.892, allocations: 0.7127 MB / 0.7458 GB, free: 205.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005928/2.893, allocations: 185.5 kB / 0.746 GB, free: 205.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/2.893, allocations: 80.5 kB / 0.746 GB, free: 205.6 MB / 458.7 MB Notification: Performance of SimCode: time 6.22e-07/2.893, allocations: 0 / 0.746 GB, free: 205.6 MB / 458.7 MB Notification: Performance of Templates: time 0.03294/2.926, allocations: 27.08 MB / 0.7725 GB, free: 180.5 MB / 458.7 MB " [Timeout remaining time 657] 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.834450629889034]