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.001008/0.001008, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.0009331/0.0009331, allocations: 195 kB / 17.98 MB, free: 5.148 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.241/1.241, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3476, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003102/0.3507, allocations: 2.367 MB / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.3557, allocations: 3.797 MB / 0.5636 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.3559, allocations: 10.5 kB / 0.5636 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00563/0.3616, allocations: 3.205 MB / 0.5667 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008856/0.3625, allocations: 408 kB / 0.5671 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3636, allocations: 0.515 MB / 0.5676 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004971/0.3686, allocations: 3.298 MB / 0.5708 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3687, allocations: 48.05 kB / 0.5709 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.369, allocations: 209 kB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.3693, allocations: 204 kB / 0.5713 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.3693, allocations: 17.88 kB / 0.5713 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.3702, allocations: 0.577 MB / 0.5719 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.3705, allocations: 210.1 kB / 0.5721 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.3707, allocations: 260.3 kB / 0.5723 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.3718, allocations: 0.9506 MB / 0.5732 GB, free: 29.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3718, allocations: 0.6562 kB / 0.5732 GB, free: 29.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3718, allocations: 2.406 kB / 0.5732 GB, free: 29.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3718, allocations: 0 / 0.5732 GB, free: 29.31 MB / 446.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.001309/0.3731, allocations: 0.9227 MB / 0.5741 GB, free: 28.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3732, allocations: 10.84 kB / 0.5741 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.374, allocations: 154.2 kB / 0.5743 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3754, allocations: 1.148 MB / 0.5754 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3755, allocations: 8.969 kB / 0.5754 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3755, allocations: 12.38 kB / 0.5754 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.3759, allocations: 171 kB / 0.5756 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.376, allocations: 1.219 kB / 0.5756 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.376, allocations: 4 kB / 0.5756 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.376, allocations: 3.281 kB / 0.5756 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.3766, allocations: 171.5 kB / 0.5758 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.3778, allocations: 0.7244 MB / 0.5765 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.3785, allocations: 191.1 kB / 0.5767 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.3788, allocations: 78.58 kB / 0.5767 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3788, allocations: 6.75 kB / 0.5767 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.3788, allocations: 31.78 kB / 0.5768 GB, free: 27.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3789, allocations: 4 kB / 0.5768 GB, free: 27.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008522/0.3797, allocations: 303.9 kB / 0.5771 GB, free: 27.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3797, allocations: 53.62 kB / 0.5771 GB, free: 27.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/0.3806, allocations: 0.7789 MB / 0.5779 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3806, allocations: 27.64 kB / 0.5779 GB, free: 26.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3808, allocations: 256.4 kB / 0.5781 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3808, allocations: 34.27 kB / 0.5782 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.381, allocations: 156.2 kB / 0.5783 GB, free: 26.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3811, allocations: 376.4 kB / 0.5787 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.3816, allocations: 294.4 kB / 0.579 GB, free: 26.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.3821, allocations: 419.9 kB / 0.5794 GB, free: 25.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.383, allocations: 0.6109 MB / 0.58 GB, free: 25.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.383, allocations: 5.25 kB / 0.58 GB, free: 25.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00123/0.3843, allocations: 0.7976 MB / 0.5808 GB, free: 25.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3843, allocations: 5.812 kB / 0.5808 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3843, allocations: 3.719 kB / 0.5808 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3843, allocations: 5.984 kB / 0.5808 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.385, allocations: 128 kB / 0.5809 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003928/0.3854, allocations: 0.6301 MB / 0.5815 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.3859, allocations: 71.92 kB / 0.5816 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.3859, allocations: 24.59 kB / 0.5816 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006394/0.3866, allocations: 481 kB / 0.5821 GB, free: 24.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004834/0.3871, allocations: 406.2 kB / 0.5824 GB, free: 24.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007869/0.3879, allocations: 0.6047 MB / 0.583 GB, free: 23.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.3879, allocations: 0 / 0.583 GB, free: 23.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001414/0.3893, allocations: 0.7689 MB / 0.5838 GB, free: 23.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3893, allocations: 10.39 kB / 0.5838 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3893, allocations: 2.312 kB / 0.5838 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.3893, allocations: 5.969 kB / 0.5838 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.3898, allocations: 134.3 kB / 0.5839 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3899, allocations: 8.875 kB / 0.5839 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.3903, allocations: 67.39 kB / 0.584 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.3903, allocations: 17.41 kB / 0.584 GB, free: 23.27 MB / 446.1 MB 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.0001126/0.3905, allocations: 210.1 kB / 0.5842 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.3905, allocations: 52.38 kB / 0.5843 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.3912, allocations: 247.4 kB / 0.5845 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3912, allocations: 1.281 kB / 0.5845 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3912, allocations: 4.969 kB / 0.5845 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3912, allocations: 288 / 0.5845 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.3916, allocations: 384.2 kB / 0.5849 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3916, allocations: 4 kB / 0.5849 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3919, allocations: 53.14 kB / 0.5849 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3919, allocations: 1.125 kB / 0.5849 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3919, allocations: 1.125 kB / 0.5849 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001988/0.3921, allocations: 0.6074 MB / 0.5855 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3921, allocations: 5.094 kB / 0.5855 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.3927, allocations: 333.1 kB / 0.5858 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.3929, allocations: 162.7 kB / 0.586 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.393, allocations: 1.062 kB / 0.586 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.3932, allocations: 22.08 kB / 0.586 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3933, allocations: 11.67 kB / 0.586 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3933, allocations: 7.719 kB / 0.586 GB, free: 21.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.3938, allocations: 0.5213 MB / 0.5866 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3938, allocations: 0 / 0.5866 GB, free: 21.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3949, allocations: 297.9 kB / 0.5868 GB, free: 21.17 MB / 446.1 MB 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.0005827/0.3954, allocations: 335.7 kB / 0.5872 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3973, allocations: 0.8767 MB / 0.588 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3973, allocations: 1.094 kB / 0.588 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3977, allocations: 100.5 kB / 0.5881 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.3985, allocations: 204.5 kB / 0.5883 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4007, allocations: 1.085 MB / 0.5894 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.401, allocations: 0.9013 MB / 0.5902 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.4014, allocations: 176.4 kB / 0.5904 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.4016, allocations: 55.42 kB / 0.5905 GB, free: 18.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4016, allocations: 0 / 0.5905 GB, free: 18.29 MB / 446.1 MB Notification: Performance of Templates: time 0.01417/0.4158, allocations: 11.53 MB / 0.6017 GB, free: 6.914 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)