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.008799/0.008799, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001911/0.001912, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 59.91 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8284/0.8296, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.00354/0.8332, allocations: 2.368 MB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00592/0.8392, allocations: 3.801 MB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.8394, allocations: 4 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.8423, allocations: 1.051 MB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008941/0.8432, allocations: 426.3 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.8443, allocations: 0.5145 MB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005019/0.8493, allocations: 3.36 MB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.8495, allocations: 52.7 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.8499, allocations: 231.2 kB / 1.219 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.8502, allocations: 223.1 kB / 1.219 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.8502, allocations: 16 kB / 1.219 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000945/0.8512, allocations: 0.5811 MB / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.8514, allocations: 215.3 kB / 1.22 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.8516, allocations: 254.5 kB / 1.22 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.8528, allocations: 0.9696 MB / 1.221 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8528, allocations: 0 / 1.221 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8528, allocations: 3.938 kB / 1.221 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.8529, allocations: 0 / 1.221 GB, free: 15.56 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.001635/0.8545, allocations: 0.9252 MB / 1.222 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.8546, allocations: 8.031 kB / 1.222 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.8554, allocations: 156.1 kB / 1.222 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.8572, allocations: 1.171 MB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.8572, allocations: 8 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.8573, allocations: 12 kB / 1.224 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.8578, allocations: 171.4 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.8578, allocations: 4 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.8578, allocations: 0 / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8578, allocations: 4 kB / 1.224 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.8585, allocations: 171.8 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.8597, allocations: 0.7147 MB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.8606, allocations: 182.6 kB / 1.225 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.8609, allocations: 84.8 kB / 1.225 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.8609, allocations: 3.984 kB / 1.225 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.861, allocations: 30.56 kB / 1.225 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.861, allocations: 0 / 1.225 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001008/0.862, allocations: 308.7 kB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.862, allocations: 51.41 kB / 1.225 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.863, allocations: 0.7851 MB / 1.226 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.863, allocations: 25.7 kB / 1.226 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.8632, allocations: 256.4 kB / 1.226 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.8633, allocations: 35.55 kB / 1.226 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.8635, allocations: 154 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8636, allocations: 378.7 kB / 1.227 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.8642, allocations: 291.4 kB / 1.227 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.8648, allocations: 420.3 kB / 1.228 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.8659, allocations: 0.6173 MB / 1.228 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8659, allocations: 0 / 1.228 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001409/0.8673, allocations: 0.7851 MB / 1.229 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8673, allocations: 8.438 kB / 1.229 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.8674, allocations: 7.938 kB / 1.229 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.8674, allocations: 8 kB / 1.229 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.8682, allocations: 127.8 kB / 1.229 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005963/0.8688, allocations: 0.6327 MB / 1.23 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.8692, allocations: 75.44 kB / 1.23 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.8693, allocations: 24 kB / 1.23 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000731/0.87, allocations: 483 kB / 1.23 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005767/0.8706, allocations: 416 kB / 1.231 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009588/0.8716, allocations: 0.5971 MB / 1.231 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.97e-06/0.8716, allocations: 3.984 kB / 1.231 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001378/0.873, allocations: 0.7876 MB / 1.232 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.873, allocations: 4 kB / 1.232 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.873, allocations: 4 kB / 1.232 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.8731, allocations: 11.98 kB / 1.232 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.8736, allocations: 123.8 kB / 1.232 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8736, allocations: 7.938 kB / 1.232 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.8741, allocations: 71.7 kB / 1.232 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.8741, allocations: 24 kB / 1.232 GB, free: 4.055 MB / 0.9512 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.0001703/0.8743, allocations: 194.4 kB / 1.232 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.8744, allocations: 55.25 kB / 1.232 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.8752, allocations: 242.9 kB / 1.233 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8752, allocations: 0 / 1.233 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8752, allocations: 7.938 kB / 1.233 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8752, allocations: 0 / 1.233 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.8757, allocations: 397.3 kB / 1.233 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8757, allocations: 0 / 1.233 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.876, allocations: 51.89 kB / 1.233 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.876, allocations: 8 kB / 1.233 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.8761, allocations: 4 kB / 1.233 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003765/0.8764, allocations: 0.6016 MB / 1.234 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8764, allocations: 0 / 1.234 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.8772, allocations: 342.9 kB / 1.234 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.8774, allocations: 160.2 kB / 1.234 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.8774, allocations: 4 kB / 1.234 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.8777, allocations: 23.97 kB / 1.234 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.8778, allocations: 11.98 kB / 1.234 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.8778, allocations: 4 kB / 1.234 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006808/0.8785, allocations: 0.5224 MB / 1.235 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8785, allocations: 0 / 1.235 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009589/0.8795, allocations: 303.8 kB / 1.235 GB, free: 1.035 MB / 0.9512 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.0006764/0.8802, allocations: 342.9 kB / 1.235 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.8824, allocations: 0.8734 MB / 1.236 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8824, allocations: 0 / 1.236 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.8828, allocations: 95.88 kB / 1.236 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.8838, allocations: 209.7 kB / 1.237 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.8867, allocations: 1.084 MB / 1.238 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.8873, allocations: 0.8974 MB / 1.238 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005966/0.8879, allocations: 172.4 kB / 1.239 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.888, allocations: 59.3 kB / 1.239 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.888, allocations: 0 / 1.239 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.01942/0.9075, allocations: 11.61 MB / 1.25 GB, free: 1.777 MB / 0.9669 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)