Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 101.1 kB / 16.4 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6835/0.6835, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.94 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1657, allocations: 76.17 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01455/0.1803, allocations: 14.41 MB / 0.6461 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005295/0.1856, allocations: 3.636 MB / 0.6497 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.1862, allocations: 19.88 kB / 0.6497 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.1868, allocations: 206.6 kB / 0.6499 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.1882, allocations: 0.5869 MB / 0.6505 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.1892, allocations: 395.5 kB / 0.6508 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1904, allocations: 1.09 MB / 0.6519 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.1909, allocations: 324.3 kB / 0.6522 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009809/0.1919, allocations: 395.9 kB / 0.6526 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.1924, allocations: 306.6 kB / 0.6529 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.1924, allocations: 32 kB / 0.6529 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.193, allocations: 263.5 kB / 0.6532 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1931, allocations: 95.72 kB / 0.6533 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.1934, allocations: 215 kB / 0.6535 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.1941, allocations: 0.5919 MB / 0.654 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1941, allocations: 0 / 0.654 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1942, allocations: 0 / 0.654 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.1942, allocations: 4 kB / 0.6541 GB, free: 13.79 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001339/0.1955, allocations: 0.7418 MB / 0.6548 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1956, allocations: 8.031 kB / 0.6548 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.1958, allocations: 44.47 kB / 0.6548 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.1966, allocations: 467.6 kB / 0.6553 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1966, allocations: 24.88 kB / 0.6553 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.1967, allocations: 35.84 kB / 0.6553 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.1974, allocations: 310.2 kB / 0.6556 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1974, allocations: 0 / 0.6556 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.1974, allocations: 12 kB / 0.6556 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.1975, allocations: 7.984 kB / 0.6556 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.198, allocations: 202 kB / 0.6558 GB, free: 11.85 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2002, allocations: 1.473 MB / 0.6573 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.2007, allocations: 150.6 kB / 0.6574 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.2009, allocations: 73.06 kB / 0.6575 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.201, allocations: 89.11 kB / 0.6576 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.2014, allocations: 135.2 kB / 0.6577 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2014, allocations: 0 / 0.6577 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006534/0.2021, allocations: 223.5 kB / 0.6579 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2021, allocations: 67.27 kB / 0.658 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.2025, allocations: 353.5 kB / 0.6583 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.2026, allocations: 33.7 kB / 0.6584 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2027, allocations: 211.7 kB / 0.6586 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.2028, allocations: 59.19 kB / 0.6586 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.2029, allocations: 53.69 kB / 0.6587 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.203, allocations: 342.8 kB / 0.659 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2032, allocations: 75.95 kB / 0.6591 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2035, allocations: 141.9 kB / 0.6592 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.204, allocations: 249.2 kB / 0.6594 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.204, allocations: 0 / 0.6594 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005762/0.2046, allocations: 314.8 kB / 0.6597 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.2046, allocations: 39.56 kB / 0.6598 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2046, allocations: 0 / 0.6598 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2047, allocations: 4 kB / 0.6598 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.2049, allocations: 59.84 kB / 0.6598 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2049, allocations: 4 kB / 0.6598 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2052, allocations: 31.73 kB / 0.6599 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2052, allocations: 15.98 kB / 0.6599 GB, free: 7.398 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001936/0.2054, allocations: 165.8 kB / 0.66 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.2055, allocations: 31.62 kB / 0.6601 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.206, allocations: 192.5 kB / 0.6603 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.206, allocations: 3.938 kB / 0.6603 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.206, allocations: 4 kB / 0.6603 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005064/0.2065, allocations: 490.2 kB / 0.6607 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.207, allocations: 357.3 kB / 0.6611 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.207, allocations: 0 / 0.6611 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.2072, allocations: 31.92 kB / 0.6611 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2072, allocations: 0 / 0.6611 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2072, allocations: 11.98 kB / 0.6611 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.2072, allocations: 7.938 kB / 0.6611 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2072, allocations: 0 / 0.6611 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.2078, allocations: 276.6 kB / 0.6614 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.208, allocations: 128.6 kB / 0.6615 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.2081, allocations: 3.984 kB / 0.6615 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.2083, allocations: 19.92 kB / 0.6615 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2084, allocations: 15.98 kB / 0.6615 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2084, allocations: 7.984 kB / 0.6616 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002474/0.2087, allocations: 259 kB / 0.6618 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2087, allocations: 0 / 0.6618 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004386/0.2091, allocations: 123.8 kB / 0.6619 GB, free: 5.129 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004072/0.2095, allocations: 187.1 kB / 0.6621 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004768/0.21, allocations: 224.4 kB / 0.6623 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.21, allocations: 4.125 kB / 0.6623 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2102, allocations: 71.89 kB / 0.6624 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.2112, allocations: 214.3 kB / 0.6626 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2126, allocations: 0.7371 MB / 0.6633 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.2131, allocations: 0.7879 MB / 0.6641 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.2133, allocations: 67.23 kB / 0.6641 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.2134, allocations: 35.42 kB / 0.6642 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2134, allocations: 0 / 0.6642 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of Templates: time 0.01288/0.2263, allocations: 7.174 MB / 0.6712 GB, free: 11.68 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)