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.005776/0.005776, allocations: 103.3 kB / 15.74 MB, free: 6.07 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.001538/0.001538, allocations: 197.2 kB / 16.68 MB, free: 5.973 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.687/2.687, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8428, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003741/0.8465, allocations: 2.369 MB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.8531, allocations: 3.815 MB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.8535, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.8566, allocations: 1.054 MB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009954/0.8576, allocations: 430.4 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.8588, allocations: 0.5185 MB / 1.229 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004857/0.8637, allocations: 3.382 MB / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.8638, allocations: 24.73 kB / 1.232 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.8642, allocations: 235.2 kB / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.8645, allocations: 219.1 kB / 1.232 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.8645, allocations: 20 kB / 1.232 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009897/0.8655, allocations: 0.5693 MB / 1.233 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.8657, allocations: 219.3 kB / 1.233 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.866, allocations: 258.5 kB / 1.233 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.8672, allocations: 0.9729 MB / 1.234 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8672, allocations: 0 / 1.234 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8672, allocations: 0 / 1.234 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.8672, allocations: 4 kB / 1.234 GB, free: 3.988 MB / 0.9512 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.001644/0.8689, allocations: 0.9478 MB / 1.235 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8689, allocations: 16.62 kB / 1.235 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008749/0.8698, allocations: 152.4 kB / 1.235 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.8714, allocations: 1.164 MB / 1.237 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.8715, allocations: 12 kB / 1.237 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.8715, allocations: 12 kB / 1.237 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.872, allocations: 177.4 kB / 1.237 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.872, allocations: 4 kB / 1.237 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.872, allocations: 4 kB / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.872, allocations: 0 / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.8726, allocations: 170.1 kB / 1.237 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.874, allocations: 0.7341 MB / 1.238 GB, free: 468 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.8748, allocations: 182.6 kB / 1.238 GB, free: 276 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.8751, allocations: 72.8 kB / 1.238 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.8751, allocations: 0 / 1.238 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.8751, allocations: 34.56 kB / 1.238 GB, free: 156 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.8751, allocations: 8 kB / 1.238 GB, free: 148 kB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001003/0.8761, allocations: 309.1 kB / 1.238 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.8762, allocations: 55.34 kB / 1.238 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.8773, allocations: 0.7891 MB / 1.239 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.8773, allocations: 25.7 kB / 1.239 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.8775, allocations: 260.7 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.8775, allocations: 35.73 kB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.8777, allocations: 154.1 kB / 1.239 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.878, allocations: 374.8 kB / 1.24 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.8785, allocations: 295.4 kB / 1.24 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.8791, allocations: 408.8 kB / 1.241 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009843/0.8801, allocations: 0.6169 MB / 1.241 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.8801, allocations: 0 / 1.241 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001325/0.8814, allocations: 0.8049 MB / 1.242 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8814, allocations: 8 kB / 1.242 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.8814, allocations: 4 kB / 1.242 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.8814, allocations: 4 kB / 1.242 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/0.8822, allocations: 127.8 kB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005927/0.8828, allocations: 0.6329 MB / 1.243 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.8833, allocations: 83.75 kB / 1.243 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.8833, allocations: 23.98 kB / 1.243 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007132/0.884, allocations: 481.5 kB / 1.243 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005556/0.8846, allocations: 404.3 kB / 1.244 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001032/0.8856, allocations: 0.601 MB / 1.244 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.8856, allocations: 0 / 1.244 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001253/0.8869, allocations: 0.7839 MB / 1.245 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.8869, allocations: 8 kB / 1.245 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.8869, allocations: 0 / 1.245 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.8869, allocations: 8 kB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.8874, allocations: 136 kB / 1.245 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.8874, allocations: 11.98 kB / 1.245 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.8879, allocations: 63.64 kB / 1.245 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.8879, allocations: 23.98 kB / 1.245 GB, free: 8.434 MB / 0.9669 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.0001586/0.8881, allocations: 204.1 kB / 1.245 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.8881, allocations: 55.62 kB / 1.245 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.8888, allocations: 239.5 kB / 1.246 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8888, allocations: 0 / 1.246 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8888, allocations: 7.938 kB / 1.246 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8889, allocations: 3.984 kB / 1.246 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.8893, allocations: 393.2 kB / 1.246 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8893, allocations: 4 kB / 1.246 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.8896, allocations: 51.95 kB / 1.246 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8896, allocations: 0 / 1.246 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.8896, allocations: 0 / 1.246 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003298/0.8899, allocations: 0.6094 MB / 1.247 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8899, allocations: 3.938 kB / 1.247 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.8906, allocations: 331.1 kB / 1.247 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.8909, allocations: 160.6 kB / 1.247 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.891, allocations: 11.92 kB / 1.247 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.8913, allocations: 19.98 kB / 1.247 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.8913, allocations: 7.984 kB / 1.247 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.8913, allocations: 12 kB / 1.247 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000702/0.892, allocations: 0.5224 MB / 1.248 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.892, allocations: 0 / 1.248 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001021/0.893, allocations: 303.7 kB / 1.248 GB, free: 5.41 MB / 0.9669 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.0006914/0.8937, allocations: 338.6 kB / 1.248 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.8957, allocations: 0.7943 MB / 1.249 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8957, allocations: 0 / 1.249 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.8961, allocations: 104.5 kB / 1.249 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.897, allocations: 210.9 kB / 1.249 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.9, allocations: 1.102 MB / 1.251 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.9006, allocations: 0.8935 MB / 1.251 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005526/0.9012, allocations: 176.3 kB / 1.252 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.9013, allocations: 55.41 kB / 1.252 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/0.9013, allocations: 0 / 1.252 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of Templates: time 0.02046/0.9218, allocations: 11.63 MB / 1.263 GB, free: 6.184 MB / 0.9825 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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)