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.001212/0.001212, allocations: 89.39 kB / 16.67 MB, free: 6.594 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.001394/0.001394, allocations: 183.3 kB / 17.58 MB, free: 6.188 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.334/1.334, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7088/0.7088, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003844, allocations: 11.98 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4192, allocations: 77.52 MB / 0.5606 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002513/0.4217, allocations: 2.055 MB / 0.5626 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.4274, allocations: 3.84 MB / 0.5663 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.4278, allocations: 5.5 kB / 0.5663 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006687/0.4345, allocations: 3.175 MB / 0.5695 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.4357, allocations: 366.8 kB / 0.5698 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.4371, allocations: 455.8 kB / 0.5702 GB, free: 31.28 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.005705/0.4428, allocations: 3.59 MB / 0.5737 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.443, allocations: 42.64 kB / 0.5738 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.4433, allocations: 188.5 kB / 0.574 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.4436, allocations: 227.1 kB / 0.5742 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.4437, allocations: 8.031 kB / 0.5742 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.445, allocations: 0.5974 MB / 0.5748 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.4453, allocations: 207.6 kB / 0.575 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.4455, allocations: 269.5 kB / 0.5752 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.4465, allocations: 0.6896 MB / 0.5759 GB, free: 29.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4465, allocations: 5.344 kB / 0.5759 GB, free: 29.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4465, allocations: 1.469 kB / 0.5759 GB, free: 29.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4465, allocations: 0 / 0.5759 GB, free: 29.62 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.001354/0.4479, allocations: 0.8523 MB / 0.5767 GB, free: 28.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4479, allocations: 8.719 kB / 0.5767 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008285/0.4488, allocations: 152.4 kB / 0.5769 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.4504, allocations: 1.145 MB / 0.578 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.4505, allocations: 10.5 kB / 0.578 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.4505, allocations: 16.44 kB / 0.578 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.4511, allocations: 185.7 kB / 0.5782 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4511, allocations: 0 / 0.5782 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.4511, allocations: 5.406 kB / 0.5782 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4512, allocations: 2.594 kB / 0.5782 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.4519, allocations: 198.9 kB / 0.5784 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.4532, allocations: 0.7305 MB / 0.5791 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008943/0.4541, allocations: 200 kB / 0.5793 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.4545, allocations: 94.33 kB / 0.5794 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.4545, allocations: 2.531 kB / 0.5794 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.4545, allocations: 36.75 kB / 0.5794 GB, free: 27.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.4545, allocations: 0 / 0.5794 GB, free: 27.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001089/0.4556, allocations: 341.1 kB / 0.5798 GB, free: 27.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.4556, allocations: 53.52 kB / 0.5798 GB, free: 27.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.4566, allocations: 0.7794 MB / 0.5806 GB, free: 27.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4567, allocations: 30.8 kB / 0.5806 GB, free: 27.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.4569, allocations: 253.4 kB / 0.5808 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.4569, allocations: 34.31 kB / 0.5809 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.457, allocations: 94.09 kB / 0.581 GB, free: 26.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4571, allocations: 378.4 kB / 0.5813 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.4577, allocations: 304.7 kB / 0.5816 GB, free: 26.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.4583, allocations: 428.4 kB / 0.582 GB, free: 26.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.4594, allocations: 0.6445 MB / 0.5827 GB, free: 25.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4594, allocations: 1.312 kB / 0.5827 GB, free: 25.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001455/0.4609, allocations: 0.8119 MB / 0.5835 GB, free: 25.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.4609, allocations: 181.6 kB / 0.5836 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.461, allocations: 7.156 kB / 0.5836 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.461, allocations: 5.188 kB / 0.5836 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.4617, allocations: 130.4 kB / 0.5838 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004171/0.4621, allocations: 0.6314 MB / 0.5844 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.4627, allocations: 76.06 kB / 0.5845 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.4627, allocations: 27.3 kB / 0.5845 GB, free: 24.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.4627, allocations: 3.281 kB / 0.5845 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/0.464, allocations: 0.7324 MB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.464, allocations: 3.75 kB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.464, allocations: 4.938 kB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.4645, allocations: 135.7 kB / 0.5853 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4646, allocations: 13.14 kB / 0.5853 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.465, allocations: 61.91 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.465, allocations: 22 kB / 0.5854 GB, free: 24.09 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.0003499/0.4654, allocations: 322.6 kB / 0.5857 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.4655, allocations: 52.72 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/0.4662, allocations: 270 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4662, allocations: 9.359 kB / 0.5861 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4663, allocations: 0 / 0.5861 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4663, allocations: 3.938 kB / 0.5861 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4667, allocations: 384.2 kB / 0.5864 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4667, allocations: 0 / 0.5864 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.467, allocations: 54.05 kB / 0.5865 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.467, allocations: 5.094 kB / 0.5865 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4671, allocations: 1.125 kB / 0.5865 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002065/0.4673, allocations: 0.6016 MB / 0.5871 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4673, allocations: 3.938 kB / 0.5871 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.468, allocations: 359 kB / 0.5874 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.4681, allocations: 154.5 kB / 0.5876 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.4682, allocations: 5.125 kB / 0.5876 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.4685, allocations: 39.81 kB / 0.5876 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.4686, allocations: 8.453 kB / 0.5876 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4686, allocations: 2.219 kB / 0.5876 GB, free: 22.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.4692, allocations: 0.5217 MB / 0.5881 GB, free: 21.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4692, allocations: 0 / 0.5881 GB, free: 21.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00125/0.4705, allocations: 306.7 kB / 0.5884 GB, free: 21.91 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.0007688/0.4713, allocations: 334.2 kB / 0.5887 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.4736, allocations: 0.914 MB / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4736, allocations: 4.062 kB / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.474, allocations: 111.9 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/0.4749, allocations: 188.3 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4775, allocations: 1.298 MB / 0.5912 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4778, allocations: 0.8974 MB / 0.5921 GB, free: 18.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.478, allocations: 55.34 kB / 0.5921 GB, free: 18.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.478, allocations: 0 / 0.5921 GB, free: 18.7 MB / 446.1 MB Notification: Performance of Templates: time 0.01316/0.4912, allocations: 11.41 MB / 0.6033 GB, free: 7.375 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)