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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001527/0.001527, allocations: 106.1 kB / 16.36 MB, free: 6.34 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.001703/0.001703, allocations: 191.7 kB / 17.29 MB, free: 5.898 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001808, allocations: 63.25 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3272, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004636/0.3319, allocations: 2.397 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006566/0.3385, allocations: 3.788 MB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.3389, allocations: 11.94 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006263/0.3452, allocations: 3.205 MB / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3463, allocations: 406.4 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.3475, allocations: 0.5107 MB / 1.037 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004891/0.3524, allocations: 3.308 MB / 1.04 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3526, allocations: 44.73 kB / 1.04 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.353, allocations: 203.3 kB / 1.04 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.3534, allocations: 207.1 kB / 1.04 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.3534, allocations: 16 kB / 1.04 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.3545, allocations: 0.5733 MB / 1.041 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.3547, allocations: 211.3 kB / 1.041 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.355, allocations: 254.5 kB / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.3564, allocations: 0.9579 MB / 1.042 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3564, allocations: 3.984 kB / 1.042 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3564, allocations: 3.938 kB / 1.042 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.3564, allocations: 4 kB / 1.042 GB, free: 1.969 MB / 0.8106 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.001845/0.3583, allocations: 0.9097 MB / 1.043 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3583, allocations: 12.03 kB / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.3592, allocations: 156 kB / 1.043 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.361, allocations: 1.156 MB / 1.045 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.361, allocations: 8 kB / 1.045 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.361, allocations: 8 kB / 1.045 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.3615, allocations: 173.5 kB / 1.045 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3615, allocations: 0 / 1.045 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3616, allocations: 4 kB / 1.045 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3616, allocations: 4 kB / 1.045 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.3622, allocations: 171.8 kB / 1.045 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3636, allocations: 0.7224 MB / 1.046 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.3644, allocations: 182.6 kB / 1.046 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.3647, allocations: 80.8 kB / 1.046 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.3647, allocations: 7.984 kB / 1.046 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.3648, allocations: 34.55 kB / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.3648, allocations: 0 / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0009157/0.3657, allocations: 308.7 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3657, allocations: 51.41 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.3666, allocations: 0.7734 MB / 1.047 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3666, allocations: 29.7 kB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3669, allocations: 256.4 kB / 1.047 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.3669, allocations: 35.55 kB / 1.047 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.3671, allocations: 154.1 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3673, allocations: 378.8 kB / 1.048 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.3678, allocations: 291.4 kB / 1.048 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.3684, allocations: 416.3 kB / 1.049 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.3693, allocations: 0.625 MB / 1.049 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3693, allocations: 0 / 1.049 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001308/0.3707, allocations: 0.7889 MB / 1.05 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3707, allocations: 8.438 kB / 1.05 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3707, allocations: 7.938 kB / 1.05 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3707, allocations: 8 kB / 1.05 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.3715, allocations: 127.8 kB / 1.05 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005353/0.372, allocations: 0.6211 MB / 1.051 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.3724, allocations: 79.47 kB / 1.051 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.3725, allocations: 31.92 kB / 1.051 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006543/0.3732, allocations: 477.5 kB / 1.051 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005559/0.3737, allocations: 400.4 kB / 1.052 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000895/0.3746, allocations: 0.6002 MB / 1.052 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.3747, allocations: 4 kB / 1.052 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001273/0.3759, allocations: 0.7804 MB / 1.053 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.376, allocations: 4 kB / 1.053 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.376, allocations: 4 kB / 1.053 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.376, allocations: 4 kB / 1.053 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.3765, allocations: 131.8 kB / 1.053 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.3765, allocations: 4 kB / 1.053 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.377, allocations: 71.61 kB / 1.053 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.377, allocations: 24 kB / 1.053 GB, free: 6.508 MB / 0.8262 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.0001577/0.3772, allocations: 204.1 kB / 1.053 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.3773, allocations: 59.23 kB / 1.053 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.378, allocations: 242.9 kB / 1.054 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.378, allocations: 0 / 1.054 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.378, allocations: 7.922 kB / 1.054 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.378, allocations: 0 / 1.054 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.3784, allocations: 385.3 kB / 1.054 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3784, allocations: 0 / 1.054 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.3787, allocations: 51.95 kB / 1.054 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3787, allocations: 8 kB / 1.054 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3787, allocations: 7.938 kB / 1.054 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003252/0.3791, allocations: 0.5977 MB / 1.055 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3791, allocations: 0 / 1.055 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.3797, allocations: 342.9 kB / 1.055 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.3799, allocations: 168.1 kB / 1.055 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.38, allocations: 4 kB / 1.055 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.3803, allocations: 23.97 kB / 1.055 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.3803, allocations: 7.984 kB / 1.055 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3803, allocations: 4 kB / 1.055 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005894/0.3809, allocations: 0.5185 MB / 1.056 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3809, allocations: 0 / 1.056 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008653/0.3818, allocations: 295.9 kB / 1.056 GB, free: 3.496 MB / 0.8262 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.0006224/0.3824, allocations: 338.9 kB / 1.056 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.3845, allocations: 0.8805 MB / 1.057 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3845, allocations: 0 / 1.057 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.3849, allocations: 103.9 kB / 1.057 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.3857, allocations: 206.7 kB / 1.057 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.3885, allocations: 1.08 MB / 1.059 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.389, allocations: 0.9013 MB / 1.059 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.3896, allocations: 176.4 kB / 1.06 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3897, allocations: 55.3 kB / 1.06 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of SimCode: time 4.3e-07/0.3897, allocations: 0 / 1.06 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.01936/0.4091, allocations: 11.54 MB / 1.071 GB, free: 4.301 MB / 0.8419 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 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)