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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006711/0.006711, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00156/0.00156, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.12 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3584, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003569/0.362, allocations: 2.385 MB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005809/0.3678, allocations: 3.784 MB / 1.214 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.3681, allocations: 7.938 kB / 1.214 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.3708, allocations: 1.047 MB / 1.215 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008913/0.3717, allocations: 434.3 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3729, allocations: 0.5185 MB / 1.216 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0047/0.3776, allocations: 3.366 MB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3778, allocations: 36.75 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.3781, allocations: 239.2 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3784, allocations: 227 kB / 1.219 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.3784, allocations: 20 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.3793, allocations: 0.5655 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.3796, allocations: 215.3 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3798, allocations: 258.5 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.3808, allocations: 0.958 MB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3808, allocations: 0 / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3808, allocations: 0 / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3808, allocations: 3.938 kB / 1.221 GB, free: 11.62 MB / 0.9825 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.001466/0.3823, allocations: 0.9369 MB / 1.222 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3823, allocations: 8.031 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000772/0.3831, allocations: 152.1 kB / 1.223 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.3847, allocations: 1.171 MB / 1.224 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.3847, allocations: 8 kB / 1.224 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3848, allocations: 12 kB / 1.224 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.3852, allocations: 165.5 kB / 1.224 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3852, allocations: 4 kB / 1.224 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.3853, allocations: 8 kB / 1.224 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3853, allocations: 0 / 1.224 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.3859, allocations: 171.8 kB / 1.224 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3871, allocations: 0.7263 MB / 1.225 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.3879, allocations: 182.6 kB / 1.225 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.3882, allocations: 80.8 kB / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3882, allocations: 0 / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3883, allocations: 38.56 kB / 1.225 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.3883, allocations: 0 / 1.225 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000938/0.3892, allocations: 308.7 kB / 1.225 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3893, allocations: 55.41 kB / 1.225 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/0.3901, allocations: 0.785 MB / 1.226 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3901, allocations: 25.7 kB / 1.226 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3903, allocations: 256.9 kB / 1.226 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3903, allocations: 35.53 kB / 1.226 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.3905, allocations: 154 kB / 1.227 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3907, allocations: 374.8 kB / 1.227 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.3912, allocations: 299.3 kB / 1.227 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.3918, allocations: 412.3 kB / 1.228 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009528/0.3928, allocations: 0.6246 MB / 1.228 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3928, allocations: 0 / 1.228 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001276/0.3941, allocations: 0.785 MB / 1.229 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3941, allocations: 8 kB / 1.229 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3941, allocations: 8.344 kB / 1.229 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3941, allocations: 8 kB / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.3948, allocations: 127.8 kB / 1.229 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005097/0.3953, allocations: 0.625 MB / 1.23 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.3958, allocations: 83.42 kB / 1.23 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.3958, allocations: 20 kB / 1.23 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006564/0.3965, allocations: 481.4 kB / 1.23 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005557/0.397, allocations: 400.4 kB / 1.231 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009212/0.398, allocations: 0.601 MB / 1.231 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.398, allocations: 0 / 1.231 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001255/0.3992, allocations: 0.7799 MB / 1.232 GB, free: 356 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3993, allocations: 8 kB / 1.232 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3993, allocations: 4 kB / 1.232 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.3993, allocations: 4 kB / 1.232 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.3998, allocations: 131.8 kB / 1.232 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3998, allocations: 7.984 kB / 1.232 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.4002, allocations: 63.72 kB / 1.232 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.4003, allocations: 23.98 kB / 1.232 GB, free: 112 kB / 0.9825 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.0001596/0.4004, allocations: 204.1 kB / 1.232 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.4005, allocations: 55.25 kB / 1.232 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/0.4013, allocations: 239 kB / 1.233 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4013, allocations: 4 kB / 1.233 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4013, allocations: 3.938 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4013, allocations: 0 / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.4017, allocations: 393.4 kB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4017, allocations: 0 / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.402, allocations: 51.95 kB / 1.233 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.402, allocations: 11.88 kB / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.402, allocations: 0 / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003154/0.4024, allocations: 0.6055 MB / 1.234 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4024, allocations: 0 / 1.234 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.403, allocations: 330.8 kB / 1.234 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.4034, allocations: 156.3 kB / 1.234 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.4034, allocations: 15.94 kB / 1.234 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4037, allocations: 19.97 kB / 1.234 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.4038, allocations: 7.984 kB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.4038, allocations: 8 kB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005822/0.4044, allocations: 0.5224 MB / 1.235 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4044, allocations: 0 / 1.235 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008305/0.4052, allocations: 299.8 kB / 1.235 GB, free: 13.09 MB / 0.9981 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.0007206/0.4059, allocations: 346.9 kB / 1.235 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.4079, allocations: 0.8812 MB / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4079, allocations: 0 / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.4083, allocations: 96.33 kB / 1.236 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.4091, allocations: 201.6 kB / 1.237 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.4118, allocations: 1.091 MB / 1.238 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.4123, allocations: 0.9091 MB / 1.238 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000484/0.4128, allocations: 172.4 kB / 1.239 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.4129, allocations: 51.41 kB / 1.239 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.413, allocations: 3.938 kB / 1.239 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of Templates: time 0.6363/1.049, allocations: 11.77 MB / 1.25 GB, free: 38.03 MB / 0.9981 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)