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.001097/0.001097, allocations: 106.7 kB / 16.27 MB, free: 5.883 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.001391/0.001391, allocations: 187.2 kB / 17.19 MB, free: 5.527 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8136/0.8136, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 55.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 77.92 MB / 0.5672 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003125/0.3388, allocations: 2.361 MB / 0.5695 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00504/0.3438, allocations: 3.794 MB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.3442, allocations: 9.781 kB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005942/0.3501, allocations: 3.212 MB / 0.5764 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009838/0.3511, allocations: 409.2 kB / 0.5767 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3523, allocations: 0.5104 MB / 0.5772 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004466/0.3568, allocations: 3.296 MB / 0.5805 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3569, allocations: 43.61 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.3572, allocations: 201.2 kB / 0.5807 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3574, allocations: 210.4 kB / 0.5809 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.3575, allocations: 17.5 kB / 0.5809 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.3585, allocations: 0.5687 MB / 0.5815 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3587, allocations: 208.1 kB / 0.5817 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3588, allocations: 255.7 kB / 0.5819 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.3599, allocations: 0.948 MB / 0.5828 GB, free: 24.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3599, allocations: 0 / 0.5828 GB, free: 24.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3599, allocations: 1.406 kB / 0.5828 GB, free: 24.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.3599, allocations: 0 / 0.5828 GB, free: 24.34 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.001419/0.3614, allocations: 0.9252 MB / 0.5837 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3614, allocations: 10.09 kB / 0.5837 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008972/0.3623, allocations: 148.5 kB / 0.5839 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.3638, allocations: 1.151 MB / 0.585 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.3638, allocations: 10.28 kB / 0.585 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3638, allocations: 13.88 kB / 0.585 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.3643, allocations: 182 kB / 0.5852 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3643, allocations: 3.938 kB / 0.5852 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3644, allocations: 9.094 kB / 0.5852 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3644, allocations: 3.562 kB / 0.5852 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.365, allocations: 178.8 kB / 0.5854 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.3663, allocations: 0.7229 MB / 0.5861 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.3672, allocations: 188.3 kB / 0.5863 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.3675, allocations: 84.39 kB / 0.5864 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3675, allocations: 6.328 kB / 0.5864 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3675, allocations: 31.78 kB / 0.5864 GB, free: 21.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3675, allocations: 0 / 0.5864 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000972/0.3685, allocations: 313.4 kB / 0.5867 GB, free: 21.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.3685, allocations: 57.67 kB / 0.5868 GB, free: 21.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.3693, allocations: 0.7762 MB / 0.5875 GB, free: 21.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3693, allocations: 27.08 kB / 0.5875 GB, free: 21.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3695, allocations: 256.3 kB / 0.5878 GB, free: 20.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.3695, allocations: 33.39 kB / 0.5878 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.3697, allocations: 164.3 kB / 0.588 GB, free: 20.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.3698, allocations: 379.1 kB / 0.5883 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.3703, allocations: 292.5 kB / 0.5886 GB, free: 20.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.3709, allocations: 418.3 kB / 0.589 GB, free: 19.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.3719, allocations: 0.6176 MB / 0.5896 GB, free: 19.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3719, allocations: 0 / 0.5896 GB, free: 19.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001248/0.3731, allocations: 0.7959 MB / 0.5904 GB, free: 18.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3732, allocations: 4 kB / 0.5904 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3732, allocations: 7.938 kB / 0.5904 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3732, allocations: 4 kB / 0.5904 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.3739, allocations: 127.9 kB / 0.5905 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004257/0.3744, allocations: 0.6328 MB / 0.5911 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.3749, allocations: 71.41 kB / 0.5912 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.3749, allocations: 27.98 kB / 0.5912 GB, free: 17.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005923/0.3755, allocations: 481.5 kB / 0.5917 GB, free: 17.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004589/0.376, allocations: 404.4 kB / 0.5921 GB, free: 17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007836/0.3768, allocations: 0.608 MB / 0.5927 GB, free: 16.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.3768, allocations: 0 / 0.5927 GB, free: 16.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001147/0.3779, allocations: 0.7836 MB / 0.5934 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.378, allocations: 8 kB / 0.5934 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.378, allocations: 0 / 0.5934 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.378, allocations: 8.281 kB / 0.5935 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.3785, allocations: 131.8 kB / 0.5936 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3785, allocations: 11.94 kB / 0.5936 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.3789, allocations: 63.59 kB / 0.5937 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.379, allocations: 24.55 kB / 0.5937 GB, free: 15.32 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.0001186/0.3791, allocations: 200.1 kB / 0.5939 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.3792, allocations: 55.25 kB / 0.5939 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.3799, allocations: 246.9 kB / 0.5942 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3799, allocations: 0 / 0.5942 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3799, allocations: 3.938 kB / 0.5942 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3799, allocations: 4 kB / 0.5942 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.3802, allocations: 393.2 kB / 0.5945 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3802, allocations: 0 / 0.5945 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.3805, allocations: 51.95 kB / 0.5946 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3806, allocations: 0 / 0.5946 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3806, allocations: 11.97 kB / 0.5946 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002259/0.3808, allocations: 0.5977 MB / 0.5952 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3808, allocations: 4.031 kB / 0.5952 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.3814, allocations: 338.7 kB / 0.5955 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.3816, allocations: 160.2 kB / 0.5957 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.3817, allocations: 0 / 0.5957 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.382, allocations: 31.97 kB / 0.5957 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.382, allocations: 4 kB / 0.5957 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.382, allocations: 11.98 kB / 0.5957 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.3826, allocations: 0.5185 MB / 0.5962 GB, free: 12.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3826, allocations: 0 / 0.5962 GB, free: 12.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009693/0.3836, allocations: 299.8 kB / 0.5965 GB, free: 12.3 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.0006206/0.3842, allocations: 338.9 kB / 0.5968 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.3861, allocations: 0.8931 MB / 0.5977 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3861, allocations: 320 / 0.5977 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.3865, allocations: 103.9 kB / 0.5978 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.3873, allocations: 212.2 kB / 0.598 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.3897, allocations: 1.097 MB / 0.5991 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.39, allocations: 0.9013 MB / 0.6 GB, free: 8.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000549/0.3905, allocations: 180.3 kB / 0.6001 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3907, allocations: 51.42 kB / 0.6002 GB, free: 8.492 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3907, allocations: 0 / 0.6002 GB, free: 8.492 MB / 446.1 MB Notification: Performance of Templates: time 0.01643/0.4071, allocations: 11.52 MB / 0.6114 GB, free: 13.11 MB / 462.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)