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.001731/0.00173, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002103, allocations: 205.3 kB / 16.79 MB, free: 6.84 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7431/0.7431, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.91 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 77.94 MB / 0.5665 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.00381/0.1594, allocations: 2.402 MB / 0.5689 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006252/0.1656, allocations: 3.894 MB / 0.5727 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.1659, allocations: 11.94 kB / 0.5727 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006604/0.1726, allocations: 3.179 MB / 0.5758 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.1736, allocations: 362.7 kB / 0.5761 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1749, allocations: 454.8 kB / 0.5766 GB, free: 6.414 MB / 446.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.005195/0.1801, allocations: 3.6 MB / 0.5801 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1802, allocations: 40.72 kB / 0.5801 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1805, allocations: 183.3 kB / 0.5803 GB, free: 2.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.1808, allocations: 235 kB / 0.5805 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1808, allocations: 12 kB / 0.5805 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1818, allocations: 0.5966 MB / 0.5811 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.1821, allocations: 215.3 kB / 0.5813 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.1823, allocations: 238.5 kB / 0.5815 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1834, allocations: 0.954 MB / 0.5825 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1834, allocations: 0 / 0.5825 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1834, allocations: 4 kB / 0.5825 GB, free: 352 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1834, allocations: 0 / 0.5825 GB, free: 352 kB / 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.2607/0.4442, allocations: 0.9167 MB / 0.5834 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4442, allocations: 9.344 kB / 0.5834 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.4452, allocations: 155.3 kB / 0.5835 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.4467, allocations: 1.139 MB / 0.5846 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.4468, allocations: 16.72 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.4468, allocations: 8.062 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.4473, allocations: 182.8 kB / 0.5848 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4473, allocations: 0.6562 kB / 0.5848 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4474, allocations: 1.031 kB / 0.5848 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4474, allocations: 2.312 kB / 0.5849 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.4481, allocations: 181.7 kB / 0.585 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.4495, allocations: 0.7194 MB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/0.4505, allocations: 192.4 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.4508, allocations: 83.77 kB / 0.586 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.4508, allocations: 1.625 kB / 0.586 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.4508, allocations: 32.28 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4508, allocations: 5.062 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.00114/0.452, allocations: 308.9 kB / 0.5863 GB, free: 23.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.452, allocations: 57.03 kB / 0.5864 GB, free: 23.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.4531, allocations: 0.7762 MB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.4532, allocations: 30.61 kB / 0.5872 GB, free: 23.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.4534, allocations: 262.3 kB / 0.5874 GB, free: 22.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.4534, allocations: 36.98 kB / 0.5874 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.4537, allocations: 153.2 kB / 0.5876 GB, free: 22.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4538, allocations: 371.7 kB / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.4544, allocations: 297.5 kB / 0.5882 GB, free: 22.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/0.455, allocations: 416.5 kB / 0.5886 GB, free: 22.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4561, allocations: 0.6115 MB / 0.5892 GB, free: 21.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4561, allocations: 0.5625 kB / 0.5892 GB, free: 21.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001714/0.4578, allocations: 0.8039 MB / 0.59 GB, free: 21.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4579, allocations: 7.719 kB / 0.59 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.4579, allocations: 2.25 kB / 0.59 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4579, allocations: 9.141 kB / 0.59 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/0.4588, allocations: 135 kB / 0.5902 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005131/0.4593, allocations: 0.6233 MB / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.4598, allocations: 76.22 kB / 0.5908 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.4599, allocations: 23.22 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008554/0.4608, allocations: 483.7 kB / 0.5913 GB, free: 20.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006938/0.4615, allocations: 405.8 kB / 0.5917 GB, free: 20.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.4626, allocations: 0.6167 MB / 0.5923 GB, free: 20.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.4627, allocations: 1.375 kB / 0.5923 GB, free: 20.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001592/0.4643, allocations: 0.7782 MB / 0.5931 GB, free: 20.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4643, allocations: 6.641 kB / 0.5931 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4643, allocations: 2.781 kB / 0.5931 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.4643, allocations: 6.625 kB / 0.5931 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.4649, allocations: 136.1 kB / 0.5932 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.465, allocations: 6.312 kB / 0.5932 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.4655, allocations: 65.06 kB / 0.5933 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.4656, allocations: 27.52 kB / 0.5933 GB, free: 19.98 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.0001818/0.4658, allocations: 202.4 kB / 0.5935 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.4659, allocations: 61.61 kB / 0.5936 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/0.4667, allocations: 241.1 kB / 0.5938 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4667, allocations: 2.141 kB / 0.5938 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4667, allocations: 2.375 kB / 0.5938 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4667, allocations: 4.656 kB / 0.5938 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.4673, allocations: 384.4 kB / 0.5942 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4673, allocations: 0 / 0.5942 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.4676, allocations: 53.12 kB / 0.5942 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4676, allocations: 0.6875 kB / 0.5942 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4676, allocations: 1.547 kB / 0.5942 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/0.4679, allocations: 0.608 MB / 0.5948 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4679, allocations: 0.6562 kB / 0.5948 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.4686, allocations: 342.9 kB / 0.5951 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.4688, allocations: 155.7 kB / 0.5953 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.709e-05/0.4689, allocations: 1.594 kB / 0.5953 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4692, allocations: 30.39 kB / 0.5953 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.4693, allocations: 7.297 kB / 0.5953 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4693, allocations: 4.812 kB / 0.5953 GB, free: 18.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000832/0.4701, allocations: 0.5223 MB / 0.5958 GB, free: 18.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4701, allocations: 0.6562 kB / 0.5958 GB, free: 18.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001292/0.4714, allocations: 305.5 kB / 0.5961 GB, free: 18.18 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.0007936/0.4722, allocations: 334 kB / 0.5965 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.4747, allocations: 0.8906 MB / 0.5973 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4747, allocations: 5.469 kB / 0.5973 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.4751, allocations: 94.39 kB / 0.5974 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.4761, allocations: 190 kB / 0.5976 GB, free: 17.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.4793, allocations: 1.223 MB / 0.5988 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.4797, allocations: 0.8999 MB / 0.5997 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007517/0.4805, allocations: 178 kB / 0.5998 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4807, allocations: 51.52 kB / 0.5999 GB, free: 16.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4807, allocations: 0 / 0.5999 GB, free: 16.33 MB / 446.1 MB Notification: Performance of Templates: time 0.02322/0.5039, allocations: 11.13 MB / 0.6108 GB, free: 12.63 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)