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.001303/0.001304, allocations: 109.5 kB / 15.99 MB, free: 6.348 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.001295/0.001295, allocations: 189.2 kB / 16.91 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.689/2.689, allocations: 469.8 MB / 0.7427 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001956, allocations: 72.89 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004092/0.3376, allocations: 2.426 MB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006114/0.3437, allocations: 3.791 MB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.344, allocations: 11.94 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006354/0.3505, allocations: 3.269 MB / 1.073 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3515, allocations: 374.7 kB / 1.074 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3528, allocations: 475.2 kB / 1.074 GB, free: 4.707 MB / 0.8419 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.005253/0.358, allocations: 3.491 MB / 1.078 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3582, allocations: 40.73 kB / 1.078 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.3586, allocations: 211.3 kB / 1.078 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.3589, allocations: 243 kB / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.359, allocations: 19.94 kB / 1.078 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.36, allocations: 0.5616 MB / 1.079 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.4975/0.8575, allocations: 215.1 kB / 1.079 GB, free: 16.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.858, allocations: 252.3 kB / 1.079 GB, free: 16.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.8593, allocations: 0.7136 MB / 1.08 GB, free: 16.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8594, allocations: 1.734 kB / 1.08 GB, free: 16.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8594, allocations: 0.9375 kB / 1.08 GB, free: 16.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.8594, allocations: 0 / 1.08 GB, free: 16.34 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.001538/0.8609, allocations: 0.9215 MB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.861, allocations: 10.89 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.8619, allocations: 154 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.8635, allocations: 1.15 MB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.8635, allocations: 8.203 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.8635, allocations: 12.84 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.8641, allocations: 177.1 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8641, allocations: 0 / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.8641, allocations: 3.625 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8641, allocations: 2.062 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.8648, allocations: 179.6 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.8661, allocations: 0.7204 MB / 1.083 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.867, allocations: 193.2 kB / 1.083 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.8673, allocations: 82.81 kB / 1.083 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.8673, allocations: 12.17 kB / 1.083 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.8673, allocations: 36.5 kB / 1.083 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.8674, allocations: 0 / 1.083 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001053/0.8684, allocations: 311.6 kB / 1.084 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.8685, allocations: 53.11 kB / 1.084 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.8695, allocations: 0.7749 MB / 1.084 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.8695, allocations: 26.98 kB / 1.085 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.8697, allocations: 249.7 kB / 1.085 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.8697, allocations: 34.94 kB / 1.085 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.87, allocations: 156.3 kB / 1.085 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8701, allocations: 375.8 kB / 1.085 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.8707, allocations: 302.4 kB / 1.086 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.8714, allocations: 410.3 kB / 1.086 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.8725, allocations: 0.6189 MB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8725, allocations: 1.375 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001539/0.8741, allocations: 0.7996 MB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.8741, allocations: 7.062 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.8741, allocations: 7 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.8742, allocations: 4.688 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.875, allocations: 136 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004676/0.8754, allocations: 0.6306 MB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.876, allocations: 76 kB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.8761, allocations: 24.84 kB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008011/0.8769, allocations: 485.5 kB / 1.089 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005841/0.8775, allocations: 404.9 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009932/0.8785, allocations: 0.6064 MB / 1.09 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.8785, allocations: 1.25 kB / 1.09 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001446/0.8799, allocations: 0.787 MB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8799, allocations: 6.781 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.88, allocations: 3.219 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.88, allocations: 10.92 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.8806, allocations: 131.9 kB / 1.091 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.8806, allocations: 7.297 kB / 1.091 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.8812, allocations: 66.16 kB / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.8812, allocations: 27.12 kB / 1.091 GB, free: 12.12 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.0001613/0.8814, allocations: 199.1 kB / 1.091 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.8815, allocations: 52.97 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/0.8823, allocations: 242.3 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8823, allocations: 1.719 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8823, allocations: 4 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8823, allocations: 5.344 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.8829, allocations: 391.7 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8829, allocations: 0.6094 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.8832, allocations: 50.09 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.8832, allocations: 0.6562 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.8832, allocations: 2.641 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002253/0.8835, allocations: 0.6092 MB / 1.092 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.8835, allocations: 2.281 kB / 1.092 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.8842, allocations: 339.1 kB / 1.092 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.8844, allocations: 158.5 kB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.8845, allocations: 9.562 kB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.8848, allocations: 25.5 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.8848, allocations: 8.141 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.8848, allocations: 7.75 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007008/0.8856, allocations: 0.5149 MB / 1.093 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8856, allocations: 1.562 kB / 1.093 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001247/0.8868, allocations: 302 kB / 1.093 GB, free: 10.32 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.0007912/0.8876, allocations: 337.1 kB / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.8899, allocations: 0.8881 MB / 1.095 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.89, allocations: 4 kB / 1.095 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.8903, allocations: 96.41 kB / 1.095 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.8913, allocations: 211.4 kB / 1.095 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.8941, allocations: 1.276 MB / 1.096 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.8946, allocations: 0.9012 MB / 1.097 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.8948, allocations: 51.84 kB / 1.097 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.8948, allocations: 3.375 kB / 1.097 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of Templates: time 0.02294/0.9177, allocations: 11.5 MB / 1.108 GB, free: 7.32 MB / 0.8419 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)