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.001384/0.001384, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001406/0.001406, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9239/0.9239, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.01328/0.01328, allocations: 1.991 MB / 262.2 MB, free: 10.93 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.272e-06/1.272e-06, allocations: 0 / 279.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.303e-05, allocations: 5.688 kB / 279.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.1277/0.1277, allocations: 14.89 MB / 294.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007351/0.1351, allocations: 9.012 MB / 303.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1361, allocations: 3.5 kB / 303.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.1369, allocations: 323.3 kB / 303.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.1411, allocations: 1.732 MB / 305.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.1416, allocations: 221.4 kB / 305.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.1429, allocations: 1.443 MB / 307.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1431, allocations: 60.66 kB / 307.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.1439, allocations: 0.6117 MB / 307.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.1444, allocations: 395.6 kB / 308.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.575e-05/0.1445, allocations: 38.38 kB / 308.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5292/0.6737, allocations: 21.88 MB / 330.2 MB, free: 9.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.6738, allocations: 155 kB / 330.3 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.6744, allocations: 402.9 kB / 330.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.6766, allocations: 1.128 MB / 331.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6767, allocations: 0 / 331.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6767, allocations: 0 / 331.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.6767, allocations: 4 kB / 331.8 MB, free: 8.211 MB / 282.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.0009013/0.6776, allocations: 1.208 MB / 333 MB, free: 6.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6776, allocations: 12.03 kB / 333.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.6808, allocations: 2.747 MB / 335.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.681, allocations: 220.3 kB / 336 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.6811, allocations: 70.38 kB / 336.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.6812, allocations: 96.38 kB / 336.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.6819, allocations: 0.8506 MB / 337 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.6819, allocations: 0 / 337 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.682, allocations: 43.94 kB / 337.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.682, allocations: 67.94 kB / 337.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.6825, allocations: 489.5 kB / 337.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.6849, allocations: 2.501 MB / 340.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.6853, allocations: 326.9 kB / 340.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.6855, allocations: 209.7 kB / 340.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.6867, allocations: 1.142 MB / 341.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.6867, allocations: 38.56 kB / 341.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=182): time 2.926e-06/0.6867, allocations: 0 / 341.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=182): time 0.0008347/0.6875, allocations: 1.019 MB / 342.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6876, allocations: 93.03 kB / 342.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.6877, allocations: 138.5 kB / 343.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.6877, allocations: 25.7 kB / 343.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.6878, allocations: 406 kB / 343.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.6881, allocations: 0.5998 MB / 344.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.6882, allocations: 129.5 kB / 344.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.6883, allocations: 306 kB / 344.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.6884, allocations: 120.8 kB / 344.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6886, allocations: 285.5 kB / 344.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.689, allocations: 0.5736 MB / 345.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.689, allocations: 8 kB / 345.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0005667/0.6895, allocations: 0.6526 MB / 346.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6896, allocations: 8 kB / 346.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6896, allocations: 3.984 kB / 346.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6896, allocations: 12.38 kB / 346.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.6897, allocations: 28 kB / 346.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6897, allocations: 15.86 kB / 346.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.6898, allocations: 87.08 kB / 346.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.6899, allocations: 12 kB / 346.3 MB, free: 9.395 MB / 298.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.0001675/0.69, allocations: 139.7 kB / 346.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.6901, allocations: 23.95 kB / 346.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.6901, allocations: 35.83 kB / 346.5 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.6902, allocations: 7.984 kB / 346.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6902, allocations: 0 / 346.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.6902, allocations: 7.938 kB / 346.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.6907, allocations: 494.9 kB / 347 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6907, allocations: 0 / 347 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.6907, allocations: 8 kB / 347 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6907, allocations: 0 / 347 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.6907, allocations: 4.062 kB / 347 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6907, allocations: 4 kB / 347 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6907, allocations: 240 / 347 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.6913, allocations: 0.9142 MB / 347.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.6913, allocations: 87.12 kB / 348 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.6914, allocations: 4 kB / 348 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.6915, allocations: 8 kB / 348 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.6915, allocations: 11.98 kB / 348 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6915, allocations: 4 kB / 348 MB, free: 7.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.886e-05/0.6915, allocations: 16.84 kB / 348.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6915, allocations: 0 / 348.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.6921, allocations: 363 kB / 348.4 MB, free: 7.238 MB / 298.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.0005606/0.6926, allocations: 336.6 kB / 348.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.6934, allocations: 1.18 MB / 349.9 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6934, allocations: 7.938 kB / 349.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006906/0.6941, allocations: 1.477 MB / 351.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6952, allocations: 479.3 kB / 351.9 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.6972, allocations: 1.968 MB / 353.8 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.6974, allocations: 318.9 kB / 354.2 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004295/0.6978, allocations: 175.6 kB / 354.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.6984, allocations: 395.1 kB / 354.7 MB, free: 380 kB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6984, allocations: 0 / 354.7 MB, free: 380 kB / 298.7 MB Notification: Performance of Templates: time 0.02739/0.7258, allocations: 25.31 MB / 380 MB, free: 6.973 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: 4.635470661800355]