Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001361/0.001361, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001333/0.001333, allocations: 187 kB / 17.34 MB, free: 5.766 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.358/1.358, 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 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9421/0.9436, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003492/0.9471, allocations: 2.372 MB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006075/0.9532, allocations: 3.796 MB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.9537, allocations: 11.94 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.9569, allocations: 1.054 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.958, allocations: 426.3 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.9593, allocations: 0.5232 MB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005016/0.9643, allocations: 3.36 MB / 1.179 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.9645, allocations: 48.7 kB / 1.179 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.9649, allocations: 231.3 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.9653, allocations: 215.2 kB / 1.179 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.9654, allocations: 19.94 kB / 1.179 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.9664, allocations: 0.5811 MB / 1.18 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.9667, allocations: 215.3 kB / 1.18 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.9669, allocations: 250.5 kB / 1.18 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.9683, allocations: 0.9619 MB / 1.181 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9684, allocations: 7.938 kB / 1.181 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9684, allocations: 4 kB / 1.181 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.9684, allocations: 0 / 1.181 GB, free: 5.75 MB / 0.9044 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.001598/0.97, allocations: 0.9252 MB / 1.182 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.97, allocations: 12.03 kB / 1.182 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.9709, allocations: 156.1 kB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.9727, allocations: 1.163 MB / 1.183 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.9727, allocations: 8 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.9728, allocations: 12 kB / 1.183 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.9732, allocations: 179.9 kB / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.9733, allocations: 0 / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.9733, allocations: 0 / 1.183 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.9733, allocations: 4 kB / 1.183 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.9739, allocations: 175.8 kB / 1.184 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.9752, allocations: 0.7223 MB / 1.184 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.9761, allocations: 182.6 kB / 1.184 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.9764, allocations: 84.73 kB / 1.185 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.9764, allocations: 4 kB / 1.185 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.9764, allocations: 34.55 kB / 1.185 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.9764, allocations: 0 / 1.185 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0009097/0.9773, allocations: 308.7 kB / 1.185 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.9774, allocations: 51.41 kB / 1.185 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.9783, allocations: 0.7812 MB / 1.186 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.9783, allocations: 37.69 kB / 1.186 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.9785, allocations: 248.4 kB / 1.186 GB, free: 488 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.9786, allocations: 35.55 kB / 1.186 GB, free: 452 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.9788, allocations: 158 kB / 1.186 GB, free: 288 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.9789, allocations: 374.8 kB / 1.187 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.9794, allocations: 287.4 kB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.98, allocations: 420.3 kB / 1.187 GB, free: 15.17 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.9809, allocations: 0.613 MB / 1.188 GB, free: 14.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9809, allocations: 4 kB / 1.188 GB, free: 14.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001248/0.9822, allocations: 0.797 MB / 1.189 GB, free: 13.72 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9822, allocations: 4 kB / 1.189 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.9822, allocations: 4 kB / 1.189 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.9823, allocations: 4 kB / 1.189 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.983, allocations: 131.8 kB / 1.189 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005744/0.9836, allocations: 0.6329 MB / 1.189 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.9841, allocations: 71.34 kB / 1.189 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.9841, allocations: 24 kB / 1.189 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006426/0.9848, allocations: 485.5 kB / 1.19 GB, free: 12.35 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005326/0.9853, allocations: 404.3 kB / 1.19 GB, free: 11.92 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009031/0.9862, allocations: 0.5963 MB / 1.191 GB, free: 11.28 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.9862, allocations: 4 kB / 1.191 GB, free: 11.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001224/0.9875, allocations: 0.7804 MB / 1.192 GB, free: 10.49 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.9875, allocations: 6.969 kB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9875, allocations: 4 kB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.9875, allocations: 4 kB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.988, allocations: 136 kB / 1.192 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9881, allocations: 7.938 kB / 1.192 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.9885, allocations: 68.14 kB / 1.192 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.9885, allocations: 24 kB / 1.192 GB, free: 10.25 MB / 0.92 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.0001578/0.9887, allocations: 200.1 kB / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/0.9888, allocations: 51.25 kB / 1.192 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.9894, allocations: 242.9 kB / 1.192 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9895, allocations: 0 / 1.192 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.9895, allocations: 3.938 kB / 1.192 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.9895, allocations: 0 / 1.192 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.9899, allocations: 397 kB / 1.193 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9899, allocations: 0 / 1.193 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.9902, allocations: 51.95 kB / 1.193 GB, free: 9.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.9903, allocations: 0 / 1.193 GB, free: 9.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.9903, allocations: 8 kB / 1.193 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/0.9906, allocations: 0.6015 MB / 1.193 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9906, allocations: 0 / 1.193 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.9912, allocations: 338.8 kB / 1.194 GB, free: 8.273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.9914, allocations: 164.2 kB / 1.194 GB, free: 8.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.9915, allocations: 0 / 1.194 GB, free: 8.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.9918, allocations: 23.97 kB / 1.194 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.9919, allocations: 11.98 kB / 1.194 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.9919, allocations: 0 / 1.194 GB, free: 8.059 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006068/0.9925, allocations: 0.5302 MB / 1.194 GB, free: 7.535 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9925, allocations: 0 / 1.194 GB, free: 7.535 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009544/0.9934, allocations: 304 kB / 1.195 GB, free: 7.238 MB / 0.92 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.0006353/0.9941, allocations: 342.8 kB / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.9961, allocations: 0.8811 MB / 1.196 GB, free: 6.012 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9961, allocations: 0 / 1.196 GB, free: 6.012 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.9965, allocations: 92.38 kB / 1.196 GB, free: 5.922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008199/0.9973, allocations: 218.6 kB / 1.196 GB, free: 5.715 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/1, allocations: 1.151 MB / 1.197 GB, free: 4.531 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/1, allocations: 0.8974 MB / 1.198 GB, free: 3.605 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.001, allocations: 51.42 kB / 1.198 GB, free: 3.555 MB / 0.92 GB Notification: Performance of SimCode: time 9.32e-07/1.001, allocations: 0 / 1.198 GB, free: 3.555 MB / 0.92 GB Notification: Performance of Templates: time 0.01648/1.017, allocations: 11.55 MB / 1.209 GB, free: 8.059 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)