Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001078/0.001078, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008152/0.008152, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.622/1.622, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.972/2.972, allocations: 470.6 MB / 0.7442 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003237, allocations: 13.59 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3398, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003011/0.3429, allocations: 2.077 MB / 1.072 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006265/0.3492, allocations: 3.834 MB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3494, allocations: 11.94 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005897/0.3553, allocations: 3.182 MB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.3562, allocations: 358.7 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.3572, allocations: 459.2 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB [/var/lib/jenkins/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.005055/0.3622, allocations: 3.588 MB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3624, allocations: 40.73 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.3626, allocations: 179.3 kB / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.363, allocations: 227.1 kB / 1.083 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.363, allocations: 8 kB / 1.083 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3641, allocations: 0.6082 MB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3643, allocations: 203.4 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.3646, allocations: 264.2 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.3658, allocations: 0.946 MB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3658, allocations: 0 / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3658, allocations: 0 / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3658, allocations: 0 / 1.085 GB, free: 11.43 MB / 0.8419 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.001467/0.3673, allocations: 0.8555 MB / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3673, allocations: 11.97 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008599/0.3682, allocations: 152.1 kB / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.3699, allocations: 1.14 MB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.37, allocations: 12 kB / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.37, allocations: 15.98 kB / 1.088 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/0.3706, allocations: 182.7 kB / 1.088 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3706, allocations: 0 / 1.088 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.3706, allocations: 11.88 kB / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3706, allocations: 8 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.3714, allocations: 191.8 kB / 1.088 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3727, allocations: 0.7263 MB / 1.089 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.3736, allocations: 202.6 kB / 1.089 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.374, allocations: 92.78 kB / 1.089 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.374, allocations: 0 / 1.089 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.374, allocations: 38.56 kB / 1.089 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.374, allocations: 3.984 kB / 1.089 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001106/0.3752, allocations: 344.7 kB / 1.089 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3752, allocations: 55.41 kB / 1.089 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009897/0.3762, allocations: 0.7734 MB / 1.09 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3763, allocations: 37.64 kB / 1.09 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.3765, allocations: 252.4 kB / 1.09 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.3765, allocations: 39.53 kB / 1.09 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3767, allocations: 89.66 kB / 1.091 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3769, allocations: 374.7 kB / 1.091 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.3775, allocations: 301.4 kB / 1.091 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/0.3782, allocations: 428.3 kB / 1.092 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3793, allocations: 0.6365 MB / 1.092 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3793, allocations: 3.984 kB / 1.092 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001558/0.3809, allocations: 0.8203 MB / 1.093 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.3811, allocations: 173.1 kB / 1.093 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3811, allocations: 8 kB / 1.093 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3811, allocations: 4 kB / 1.093 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.3819, allocations: 135.8 kB / 1.093 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006535/0.3825, allocations: 0.6289 MB / 1.094 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.383, allocations: 79.34 kB / 1.094 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.383, allocations: 27.98 kB / 1.094 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/0.3831, allocations: 5.25 kB / 1.094 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001357/0.3844, allocations: 0.7404 MB / 1.095 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3844, allocations: 0 / 1.095 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.3844, allocations: 8 kB / 1.095 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.385, allocations: 131.9 kB / 1.095 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.385, allocations: 7.938 kB / 1.095 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.3854, allocations: 71.77 kB / 1.095 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.3854, allocations: 20 kB / 1.095 GB, free: 1.285 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.0003389/0.3858, allocations: 312.9 kB / 1.095 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.3859, allocations: 55.25 kB / 1.095 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007862/0.3867, allocations: 266.9 kB / 1.096 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3867, allocations: 8 kB / 1.096 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3867, allocations: 0 / 1.096 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3867, allocations: 3.938 kB / 1.096 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.3872, allocations: 389.3 kB / 1.096 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3872, allocations: 0 / 1.096 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.3875, allocations: 51.95 kB / 1.096 GB, free: 156 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3875, allocations: 4 kB / 1.096 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3875, allocations: 4 kB / 1.096 GB, free: 148 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003878/0.3879, allocations: 0.6093 MB / 1.097 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3879, allocations: 0 / 1.097 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.3887, allocations: 354.8 kB / 1.097 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.3889, allocations: 160.2 kB / 1.097 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.389, allocations: 11.94 kB / 1.097 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.3892, allocations: 27.97 kB / 1.097 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3893, allocations: 7.984 kB / 1.097 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3893, allocations: 8 kB / 1.097 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006728/0.39, allocations: 0.5146 MB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.39, allocations: 4.125 kB / 1.098 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009302/0.3909, allocations: 307.8 kB / 1.098 GB, free: 14.1 MB / 0.8575 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.0006904/0.3916, allocations: 338.9 kB / 1.098 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.3939, allocations: 0.9039 MB / 1.099 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.394, allocations: 4.062 kB / 1.099 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.3944, allocations: 111.9 kB / 1.099 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.3953, allocations: 188 kB / 1.099 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3981, allocations: 1.244 MB / 1.101 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.3987, allocations: 0.8935 MB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006102/0.3993, allocations: 176.4 kB / 1.102 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3995, allocations: 51.41 kB / 1.102 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.3995, allocations: 3.938 kB / 1.102 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of Templates: time 0.0214/0.4209, allocations: 11.07 MB / 1.113 GB, free: 15.19 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)