Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.PEle|eff.dp_in|eff.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.PEle|eff.dp_in|eff.V_flow",fileNamePrefix="Buildings_latest_Buildings.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.006248/0.006248, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001215/0.001215, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.2 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3372, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004812/0.342, allocations: 2.424 MB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007031/0.3491, allocations: 3.917 MB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.3496, allocations: 4 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007156/0.3568, allocations: 3.171 MB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.3579, allocations: 369.7 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3593, allocations: 459.2 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB [/var/lib/jenkins1/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.005945/0.3652, allocations: 3.584 MB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3654, allocations: 32.75 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.3658, allocations: 195.2 kB / 1.067 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.3663, allocations: 227.1 kB / 1.067 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.3663, allocations: 12 kB / 1.067 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3676, allocations: 0.6005 MB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.3679, allocations: 211.3 kB / 1.068 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3682, allocations: 246.5 kB / 1.068 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3693, allocations: 0.7054 MB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3693, allocations: 0 / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3693, allocations: 3.938 kB / 1.068 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.3693, allocations: 0 / 1.068 GB, free: 8.156 MB / 0.8262 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.001809/0.3711, allocations: 0.9137 MB / 1.069 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3712, allocations: 15.95 kB / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.3721, allocations: 148.1 kB / 1.07 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.3739, allocations: 1.155 MB / 1.071 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.3739, allocations: 8 kB / 1.071 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.374, allocations: 12 kB / 1.071 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.3745, allocations: 173.5 kB / 1.071 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3745, allocations: 3.984 kB / 1.071 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3745, allocations: 0 / 1.071 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.3745, allocations: 7.984 kB / 1.071 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3752, allocations: 175.8 kB / 1.071 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3767, allocations: 0.7224 MB / 1.072 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008848/0.3776, allocations: 198.5 kB / 1.072 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3779, allocations: 80.8 kB / 1.072 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.378, allocations: 0 / 1.072 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.378, allocations: 34.56 kB / 1.072 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.378, allocations: 0 / 1.072 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001093/0.3791, allocations: 316.7 kB / 1.072 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3791, allocations: 51.41 kB / 1.072 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/0.3801, allocations: 0.7773 MB / 1.073 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3801, allocations: 29.7 kB / 1.073 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.3804, allocations: 256.4 kB / 1.073 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3804, allocations: 31.64 kB / 1.073 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.3806, allocations: 158 kB / 1.074 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3808, allocations: 378.7 kB / 1.074 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.3814, allocations: 299.7 kB / 1.074 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.382, allocations: 416.3 kB / 1.075 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3831, allocations: 0.6208 MB / 1.075 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3831, allocations: 0 / 1.075 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001408/0.3845, allocations: 0.7969 MB / 1.076 GB, free: 124 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3845, allocations: 4 kB / 1.076 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3846, allocations: 4 kB / 1.076 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3846, allocations: 7.984 kB / 1.076 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.3854, allocations: 131.8 kB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005868/0.386, allocations: 0.629 MB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.3865, allocations: 75.34 kB / 1.077 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.3865, allocations: 24 kB / 1.077 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007185/0.3872, allocations: 477.5 kB / 1.077 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006352/0.3879, allocations: 412.3 kB / 1.078 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001048/0.389, allocations: 0.6126 MB / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.888e-06/0.389, allocations: 0 / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001353/0.3903, allocations: 0.7835 MB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3904, allocations: 8 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3904, allocations: 352 / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.3904, allocations: 12 kB / 1.079 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.3909, allocations: 119.9 kB / 1.079 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.391, allocations: 15.92 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.3914, allocations: 71.48 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.3915, allocations: 27.98 kB / 1.079 GB, free: 12.61 MB / 0.8419 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.0001945/0.3917, allocations: 192.2 kB / 1.08 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.3918, allocations: 59.25 kB / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.3925, allocations: 242.9 kB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3925, allocations: 0 / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3925, allocations: 3.938 kB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3925, allocations: 4 kB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.393, allocations: 377.4 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.393, allocations: 0 / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3933, allocations: 55.89 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3934, allocations: 0 / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/0.3934, allocations: 4.281 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003652/0.3938, allocations: 0.6055 MB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3938, allocations: 4.031 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.3945, allocations: 346.6 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3947, allocations: 164.1 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.3948, allocations: 4 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.3951, allocations: 27.97 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3952, allocations: 7.984 kB / 1.081 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3952, allocations: 4 kB / 1.081 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006896/0.3959, allocations: 0.5224 MB / 1.082 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3959, allocations: 0 / 1.082 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009796/0.3969, allocations: 295.8 kB / 1.082 GB, free: 9.609 MB / 0.8419 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.0008538/0.3977, allocations: 334.9 kB / 1.082 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.3999, allocations: 0.8843 MB / 1.083 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4, allocations: 4.125 kB / 1.083 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.4004, allocations: 95.86 kB / 1.083 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.4013, allocations: 192.3 kB / 1.084 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.4043, allocations: 1.277 MB / 1.085 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.4048, allocations: 0.9013 MB / 1.086 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.405, allocations: 51.41 kB / 1.086 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of SimCode: time 2.816e-06/0.405, allocations: 0 / 1.086 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.01716/0.4222, allocations: 11.49 MB / 1.097 GB, free: 10.39 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)