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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001478/0.001478, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 70.3 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003645/0.3273, allocations: 2.368 MB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005892/0.3332, allocations: 3.795 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.3335, allocations: 15.94 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005767/0.3393, allocations: 3.222 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000819/0.3401, allocations: 394.5 kB / 1.078 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3412, allocations: 0.5101 MB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004337/0.3455, allocations: 3.308 MB / 1.082 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3456, allocations: 36.75 kB / 1.082 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.3459, allocations: 211.3 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.3462, allocations: 207.1 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.3463, allocations: 23.94 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.3472, allocations: 0.5616 MB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3474, allocations: 219.3 kB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.3476, allocations: 254.5 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3486, allocations: 0.9346 MB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3486, allocations: 0 / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3487, allocations: 0 / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.3487, allocations: 0 / 1.084 GB, free: 10.29 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.001418/0.3501, allocations: 0.9368 MB / 1.085 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3501, allocations: 12.03 kB / 1.085 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008772/0.351, allocations: 152.1 kB / 1.085 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.3526, allocations: 1.136 MB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.3526, allocations: 11.98 kB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.3527, allocations: 12 kB / 1.086 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.3532, allocations: 175.5 kB / 1.086 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3532, allocations: 0 / 1.086 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.3532, allocations: 8 kB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.3532, allocations: 0 / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.3539, allocations: 179.8 kB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3552, allocations: 0.7299 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/0.3561, allocations: 186.6 kB / 1.087 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.3564, allocations: 76.8 kB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3564, allocations: 11.98 kB / 1.087 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3564, allocations: 30.56 kB / 1.087 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 4.528e-06/0.3564, allocations: 0 / 1.087 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001026/0.3575, allocations: 316.7 kB / 1.088 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3575, allocations: 59.34 kB / 1.088 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.3584, allocations: 0.7773 MB / 1.089 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3584, allocations: 29.7 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3586, allocations: 252.4 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3587, allocations: 39.55 kB / 1.089 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3588, allocations: 150.5 kB / 1.089 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.359, allocations: 374.7 kB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.3596, allocations: 299.3 kB / 1.09 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/0.3602, allocations: 412.4 kB / 1.09 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.3613, allocations: 0.6169 MB / 1.091 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3613, allocations: 4 kB / 1.091 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001432/0.3628, allocations: 0.7966 MB / 1.091 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3628, allocations: 8.344 kB / 1.091 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3628, allocations: 12 kB / 1.091 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3628, allocations: 4 kB / 1.091 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.3636, allocations: 131.8 kB / 1.092 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005841/0.3642, allocations: 0.6327 MB / 1.092 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.3647, allocations: 79.61 kB / 1.092 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.3647, allocations: 20 kB / 1.092 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007421/0.3655, allocations: 479.3 kB / 1.093 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006239/0.3661, allocations: 412.3 kB / 1.093 GB, free: 448 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001084/0.3672, allocations: 0.601 MB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.3672, allocations: 3.938 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001415/0.3687, allocations: 0.7954 MB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3687, allocations: 4 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3687, allocations: 4 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.3687, allocations: 4 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.3692, allocations: 131.9 kB / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3693, allocations: 4 kB / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.3697, allocations: 67.58 kB / 1.095 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.3697, allocations: 24 kB / 1.095 GB, free: 14.76 MB / 0.8575 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.0001584/0.3699, allocations: 204.7 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.37, allocations: 55.25 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.3708, allocations: 239 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3708, allocations: 7.984 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3708, allocations: 3.938 kB / 1.095 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3708, allocations: 0 / 1.095 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.3713, allocations: 385.2 kB / 1.096 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3713, allocations: 4 kB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.3717, allocations: 52.23 kB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3717, allocations: 0 / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3717, allocations: 4 kB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000351/0.3721, allocations: 0.6131 MB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3721, allocations: 4.094 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.3728, allocations: 342.6 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.373, allocations: 156.3 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.3731, allocations: 0 / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.3734, allocations: 23.97 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.3735, allocations: 11.98 kB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3735, allocations: 8 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006442/0.3741, allocations: 0.5224 MB / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3741, allocations: 0 / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000951/0.3751, allocations: 295.9 kB / 1.098 GB, free: 11.74 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.000796/0.3759, allocations: 341.7 kB / 1.098 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.3781, allocations: 0.8914 MB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3782, allocations: 0 / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.3786, allocations: 100.7 kB / 1.099 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.3795, allocations: 203.8 kB / 1.099 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.3823, allocations: 1.095 MB / 1.1 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.3829, allocations: 0.9012 MB / 1.101 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000655/0.3836, allocations: 172.4 kB / 1.101 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3837, allocations: 51.42 kB / 1.101 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of SimCode: time 1.253e-06/0.3838, allocations: 0 / 1.101 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.02266/0.4064, allocations: 11.54 MB / 1.112 GB, free: 12.52 MB / 0.8731 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)