Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.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.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 108.4 kB / 16.41 MB, free: 6.473 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.0009912/0.0009913, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6882/0.6882, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001149, allocations: 65.95 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1306, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003178/0.1338, allocations: 2.361 MB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.1393, allocations: 3.804 MB / 0.6381 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.1395, allocations: 11.94 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.142, allocations: 1.051 MB / 0.6391 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008248/0.1429, allocations: 422.4 kB / 0.6395 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009871/0.1439, allocations: 0.5224 MB / 0.64 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004261/0.1481, allocations: 3.354 MB / 0.6433 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1483, allocations: 44.72 kB / 0.6434 GB, free: 8.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.1486, allocations: 231.2 kB / 0.6436 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1489, allocations: 223.2 kB / 0.6438 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.1489, allocations: 16 kB / 0.6438 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.1498, allocations: 0.581 MB / 0.6444 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.15, allocations: 207.4 kB / 0.6446 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1502, allocations: 262.4 kB / 0.6448 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009269/0.1511, allocations: 0.9541 MB / 0.6458 GB, free: 6.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1511, allocations: 4 kB / 0.6458 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1511, allocations: 0 / 0.6458 GB, free: 6.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1511, allocations: 0 / 0.6458 GB, free: 6.352 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001342/0.1525, allocations: 0.9407 MB / 0.6467 GB, free: 5.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1525, allocations: 12.03 kB / 0.6467 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000802/0.1533, allocations: 152.1 kB / 0.6468 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.1548, allocations: 1.156 MB / 0.648 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1549, allocations: 11.95 kB / 0.648 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1549, allocations: 12 kB / 0.648 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.1554, allocations: 173.5 kB / 0.6482 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1554, allocations: 0 / 0.6482 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1554, allocations: 4 kB / 0.6482 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1554, allocations: 4 kB / 0.6482 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.156, allocations: 167.8 kB / 0.6483 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1571, allocations: 0.7301 MB / 0.649 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/0.1579, allocations: 186.6 kB / 0.6492 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.1582, allocations: 76.8 kB / 0.6493 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1582, allocations: 4 kB / 0.6493 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1583, allocations: 38.5 kB / 0.6493 GB, free: 2.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1583, allocations: 0 / 0.6493 GB, free: 2.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009054/0.1592, allocations: 309 kB / 0.6496 GB, free: 2.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1592, allocations: 51.41 kB / 0.6497 GB, free: 2.156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.16, allocations: 0.7773 MB / 0.6504 GB, free: 1.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.16, allocations: 33.8 kB / 0.6505 GB, free: 1.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.1602, allocations: 252.4 kB / 0.6507 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1603, allocations: 39.53 kB / 0.6507 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.1604, allocations: 162 kB / 0.6509 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1606, allocations: 374.8 kB / 0.6513 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.1611, allocations: 291.4 kB / 0.6515 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.1617, allocations: 404.4 kB / 0.6519 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.1626, allocations: 0.6247 MB / 0.6525 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1626, allocations: 4 kB / 0.6525 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001213/0.1638, allocations: 0.7927 MB / 0.6533 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1638, allocations: 4.344 kB / 0.6533 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.1638, allocations: 11.98 kB / 0.6533 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1639, allocations: 8 kB / 0.6533 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.1645, allocations: 127.9 kB / 0.6535 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004854/0.165, allocations: 0.625 MB / 0.6541 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.1654, allocations: 79.48 kB / 0.6541 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.1655, allocations: 24 kB / 0.6542 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006236/0.1661, allocations: 473.5 kB / 0.6546 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005332/0.1667, allocations: 408.3 kB / 0.655 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008731/0.1675, allocations: 0.604 MB / 0.6556 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.1676, allocations: 4 kB / 0.6556 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001185/0.1687, allocations: 0.7722 MB / 0.6563 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.1688, allocations: 5.719 kB / 0.6564 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1688, allocations: 4 kB / 0.6564 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.1688, allocations: 7.938 kB / 0.6564 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.1693, allocations: 127.8 kB / 0.6565 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1693, allocations: 8.109 kB / 0.6565 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1697, allocations: 67.59 kB / 0.6566 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1697, allocations: 27.98 kB / 0.6566 GB, free: 10.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.1699, allocations: 200.7 kB / 0.6568 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.17, allocations: 55.23 kB / 0.6568 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.1706, allocations: 247.1 kB / 0.6571 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1706, allocations: 0 / 0.6571 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1706, allocations: 4.031 kB / 0.6571 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1706, allocations: 3.938 kB / 0.6571 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.171, allocations: 393 kB / 0.6574 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.171, allocations: 0 / 0.6574 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.1713, allocations: 55.95 kB / 0.6575 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1713, allocations: 0 / 0.6575 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1713, allocations: 4 kB / 0.6575 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002837/0.1716, allocations: 0.6015 MB / 0.6581 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1716, allocations: 0 / 0.6581 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.1723, allocations: 334.8 kB / 0.6584 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.1724, allocations: 168.2 kB / 0.6586 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.1725, allocations: 0 / 0.6586 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.1728, allocations: 27.97 kB / 0.6586 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1728, allocations: 7.984 kB / 0.6586 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1728, allocations: 0 / 0.6586 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005779/0.1734, allocations: 0.5302 MB / 0.6591 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1734, allocations: 0 / 0.6591 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008167/0.1742, allocations: 303.8 kB / 0.6594 GB, free: 7.812 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005959/0.1748, allocations: 336 kB / 0.6597 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.1767, allocations: 0.8723 MB / 0.6606 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1768, allocations: 0 / 0.6606 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.1771, allocations: 100.8 kB / 0.6607 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.1779, allocations: 207.5 kB / 0.6609 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.1803, allocations: 1.091 MB / 0.6619 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1808, allocations: 0.9013 MB / 0.6628 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004606/0.1812, allocations: 172.4 kB / 0.663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1814, allocations: 55.41 kB / 0.663 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1814, allocations: 0 / 0.663 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of Templates: time 0.01735/0.1987, allocations: 11.59 MB / 0.6744 GB, free: 8.562 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)