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.001133/0.001133, allocations: 100.7 kB / 16.4 MB, free: 6 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.001076/0.001076, allocations: 197.1 kB / 17.34 MB, free: 5.582 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7784/0.7784, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.27 kB / 0.5731 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 78.7 MB / 0.6499 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003969/0.1514, allocations: 2.365 MB / 0.6522 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006339/0.1578, allocations: 3.808 MB / 0.656 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.1582, allocations: 11.94 kB / 0.656 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.1612, allocations: 1.042 MB / 0.657 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1623, allocations: 433.2 kB / 0.6574 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1634, allocations: 0.5225 MB / 0.6579 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005159/0.1686, allocations: 3.354 MB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1688, allocations: 44.72 kB / 0.6612 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.1692, allocations: 227.2 kB / 0.6614 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.1696, allocations: 219 kB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.1696, allocations: 16 kB / 0.6617 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1707, allocations: 0.5811 MB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1709, allocations: 211.4 kB / 0.6624 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.1712, allocations: 262.4 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.1726, allocations: 0.9574 MB / 0.6636 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1726, allocations: 0 / 0.6636 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1726, allocations: 0 / 0.6636 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.1726, allocations: 0 / 0.6636 GB, free: 6.027 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001764/0.1744, allocations: 0.9595 MB / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1744, allocations: 8.031 kB / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.1752, allocations: 160.1 kB / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.1769, allocations: 1.163 MB / 0.6659 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1769, allocations: 11.94 kB / 0.6659 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.177, allocations: 12 kB / 0.6659 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.1775, allocations: 171.8 kB / 0.666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1775, allocations: 3.938 kB / 0.6661 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1775, allocations: 4 kB / 0.6661 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1775, allocations: 4 kB / 0.6661 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.1781, allocations: 175.8 kB / 0.6662 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.1794, allocations: 0.7301 MB / 0.6669 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.1802, allocations: 186.6 kB / 0.6671 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1805, allocations: 76.8 kB / 0.6672 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1805, allocations: 3.938 kB / 0.6672 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1805, allocations: 38.56 kB / 0.6672 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1805, allocations: 0 / 0.6672 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000952/0.1815, allocations: 305.2 kB / 0.6675 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1816, allocations: 51.41 kB / 0.6676 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/0.1825, allocations: 0.793 MB / 0.6683 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1825, allocations: 25.7 kB / 0.6684 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1828, allocations: 257.1 kB / 0.6686 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1828, allocations: 35.73 kB / 0.6686 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.183, allocations: 158.1 kB / 0.6688 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1832, allocations: 370.7 kB / 0.6692 GB, free: 148 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.1837, allocations: 303.3 kB / 0.6694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.1843, allocations: 420.3 kB / 0.6698 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/0.1853, allocations: 0.6092 MB / 0.6704 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1853, allocations: 7.984 kB / 0.6704 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001357/0.1866, allocations: 0.7933 MB / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1867, allocations: 8 kB / 0.6712 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1867, allocations: 0 / 0.6712 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1867, allocations: 8 kB / 0.6712 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.1874, allocations: 131.9 kB / 0.6714 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005269/0.188, allocations: 0.625 MB / 0.672 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.1884, allocations: 75.69 kB / 0.672 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.1885, allocations: 27.98 kB / 0.6721 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00067/0.1891, allocations: 469.5 kB / 0.6725 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005795/0.1897, allocations: 412.3 kB / 0.6729 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008913/0.1906, allocations: 0.5963 MB / 0.6735 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.1906, allocations: 4 kB / 0.6735 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001267/0.1919, allocations: 0.7802 MB / 0.6743 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1919, allocations: 8.328 kB / 0.6743 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.192, allocations: 8 kB / 0.6743 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.192, allocations: 4 kB / 0.6743 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.1925, allocations: 131.7 kB / 0.6744 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1925, allocations: 7.984 kB / 0.6744 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.1929, allocations: 68.02 kB / 0.6745 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.1929, allocations: 24 kB / 0.6745 GB, free: 10.46 MB / 0.5137 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.0001391/0.1931, allocations: 203.4 kB / 0.6747 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.1932, allocations: 63.58 kB / 0.6748 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.1938, allocations: 246.9 kB / 0.675 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1939, allocations: 0 / 0.675 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1939, allocations: 4 kB / 0.675 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1939, allocations: 0 / 0.675 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1944, allocations: 389.4 kB / 0.6754 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1944, allocations: 0 / 0.6754 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1946, allocations: 51.95 kB / 0.6754 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1947, allocations: 3.938 kB / 0.6754 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1947, allocations: 7.938 kB / 0.6754 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003234/0.195, allocations: 0.6094 MB / 0.676 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.195, allocations: 0 / 0.676 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.1957, allocations: 343 kB / 0.6763 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1959, allocations: 156.7 kB / 0.6765 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.196, allocations: 0 / 0.6765 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.1962, allocations: 31.97 kB / 0.6765 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.1963, allocations: 7.984 kB / 0.6765 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1963, allocations: 4 kB / 0.6765 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006586/0.197, allocations: 0.5263 MB / 0.6771 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.197, allocations: 0 / 0.6771 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009124/0.1979, allocations: 303.6 kB / 0.6773 GB, free: 7.426 MB / 0.5137 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.0008024/0.1987, allocations: 334.6 kB / 0.6777 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.2008, allocations: 0.8801 MB / 0.6785 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2008, allocations: 256 / 0.6785 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.2012, allocations: 99.92 kB / 0.6786 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.202, allocations: 212.8 kB / 0.6788 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2046, allocations: 1.094 MB / 0.6799 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.2051, allocations: 0.9013 MB / 0.6808 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000491/0.2056, allocations: 172.4 kB / 0.6809 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2057, allocations: 55.41 kB / 0.681 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.2057, allocations: 0 / 0.681 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of Templates: time 0.01875/0.2245, allocations: 11.6 MB / 0.6923 GB, free: 8.148 MB / 0.5294 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)