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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 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.001292/0.001292, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 66.09 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3411, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004158/0.3453, allocations: 2.371 MB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006033/0.3513, allocations: 3.803 MB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.3517, allocations: 8 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005988/0.3577, allocations: 3.198 MB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3588, allocations: 410.3 kB / 1.078 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.36, allocations: 0.5102 MB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004639/0.3647, allocations: 3.308 MB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3648, allocations: 40.72 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.3652, allocations: 211.3 kB / 1.082 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.3655, allocations: 211.1 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.3656, allocations: 16 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.3666, allocations: 0.5694 MB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.3668, allocations: 203.4 kB / 1.083 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.367, allocations: 254.5 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3683, allocations: 0.9424 MB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3683, allocations: 4 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3683, allocations: 0 / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.3684, allocations: 0 / 1.084 GB, free: 10.39 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.001664/0.37, allocations: 0.9329 MB / 1.085 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3701, allocations: 8.031 kB / 1.085 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.371, allocations: 152.1 kB / 1.085 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.3726, allocations: 1.14 MB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.3726, allocations: 19.94 kB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.3727, allocations: 12 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.3732, allocations: 171.1 kB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3732, allocations: 0 / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3732, allocations: 8 kB / 1.086 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3733, allocations: 4 kB / 1.086 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.3739, allocations: 171.8 kB / 1.086 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3753, allocations: 0.7299 MB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008652/0.3761, allocations: 182.6 kB / 1.087 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3764, allocations: 84.8 kB / 1.087 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3765, allocations: 3.938 kB / 1.087 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3765, allocations: 42.48 kB / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.3765, allocations: 0 / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001051/0.3776, allocations: 308.7 kB / 1.088 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.3776, allocations: 59.39 kB / 1.088 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.3785, allocations: 0.7734 MB / 1.088 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3785, allocations: 25.7 kB / 1.089 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3787, allocations: 256.4 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3788, allocations: 39.55 kB / 1.089 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.379, allocations: 154.1 kB / 1.089 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3791, allocations: 382.7 kB / 1.089 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.3797, allocations: 295.4 kB / 1.09 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.3803, allocations: 416.3 kB / 1.09 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3813, allocations: 0.6092 MB / 1.091 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3813, allocations: 0 / 1.091 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001452/0.3828, allocations: 0.8046 MB / 1.091 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3828, allocations: 4 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3828, allocations: 4 kB / 1.091 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3829, allocations: 4 kB / 1.091 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.3836, allocations: 139.9 kB / 1.092 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005742/0.3842, allocations: 0.6327 MB / 1.092 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.3847, allocations: 71.62 kB / 1.092 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.3848, allocations: 32.08 kB / 1.092 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007142/0.3855, allocations: 473.5 kB / 1.093 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005947/0.3861, allocations: 408.3 kB / 1.093 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.3871, allocations: 0.6089 MB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.3871, allocations: 4 kB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001352/0.3885, allocations: 0.78 MB / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3885, allocations: 12.06 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.3885, allocations: 7.984 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.3885, allocations: 7.938 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.3891, allocations: 131.8 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3891, allocations: 4.562 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.3896, allocations: 67.59 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.3896, allocations: 23.98 kB / 1.095 GB, free: 14.86 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.0001526/0.3898, allocations: 201.3 kB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3899, allocations: 51.25 kB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/0.3907, allocations: 250.9 kB / 1.095 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3907, allocations: 0 / 1.095 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3907, allocations: 3.938 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3907, allocations: 0 / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.3912, allocations: 393.1 kB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3912, allocations: 0 / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.3915, allocations: 47.95 kB / 1.096 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3915, allocations: 4 kB / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3915, allocations: 4 kB / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000304/0.3918, allocations: 0.6131 MB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3919, allocations: 0 / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.3926, allocations: 334.7 kB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.3928, allocations: 156.3 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.3929, allocations: 15.98 kB / 1.097 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.3931, allocations: 15.98 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3932, allocations: 7.984 kB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3932, allocations: 8 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006084/0.3938, allocations: 0.5185 MB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3938, allocations: 0 / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009074/0.3948, allocations: 299.9 kB / 1.097 GB, free: 11.85 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.0007305/0.3955, allocations: 347 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.3977, allocations: 0.8917 MB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3977, allocations: 0 / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.3982, allocations: 104.3 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.3991, allocations: 208.7 kB / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.4019, allocations: 1.088 MB / 1.1 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.4024, allocations: 0.9052 MB / 1.101 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006163/0.403, allocations: 180.3 kB / 1.101 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.4032, allocations: 51.41 kB / 1.101 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.4032, allocations: 0 / 1.101 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.01967/0.4229, allocations: 11.53 MB / 1.112 GB, free: 12.62 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)