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.001723/0.001723, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.002049/0.002049, allocations: 187 kB / 17.34 MB, free: 5.762 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.341/1.341, 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.1-master/package.mo): time 2.572/2.572, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8185, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003647/0.8222, allocations: 2.377 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006022/0.8283, allocations: 3.799 MB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.8285, allocations: 7.938 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.8314, allocations: 1.052 MB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.8323, allocations: 418.4 kB / 1.216 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.8335, allocations: 0.5179 MB / 1.216 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004996/0.8385, allocations: 3.364 MB / 1.22 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.8387, allocations: 40.72 kB / 1.22 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.8391, allocations: 235.2 kB / 1.22 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.8394, allocations: 219.1 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.8395, allocations: 20 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.8405, allocations: 0.5732 MB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.8407, allocations: 215.4 kB / 1.221 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.841, allocations: 262.4 kB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.8422, allocations: 0.958 MB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8422, allocations: 0 / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8422, allocations: 0 / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8422, allocations: 0 / 1.222 GB, free: 15.72 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.001528/0.8437, allocations: 0.9407 MB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.8438, allocations: 12.03 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008391/0.8446, allocations: 148.1 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.8463, allocations: 1.159 MB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.8463, allocations: 8 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.8464, allocations: 15.98 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.8468, allocations: 175 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.8469, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.8469, allocations: 8 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8469, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.8475, allocations: 175.8 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.8488, allocations: 0.7185 MB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.8496, allocations: 186.5 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.8499, allocations: 84.8 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.85, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.85, allocations: 38.5 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 3.466e-06/0.85, allocations: 4 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0009643/0.851, allocations: 304.7 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.851, allocations: 55.41 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.8519, allocations: 0.7773 MB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.852, allocations: 29.7 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.8522, allocations: 256.4 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.8522, allocations: 43.52 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.8524, allocations: 154 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8526, allocations: 374.8 kB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.8531, allocations: 291.4 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.8537, allocations: 408.3 kB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.8547, allocations: 0.6169 MB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.8547, allocations: 0 / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001358/0.8561, allocations: 0.793 MB / 1.23 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8561, allocations: 8 kB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.8561, allocations: 4 kB / 1.23 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.8562, allocations: 4 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.8569, allocations: 123.9 kB / 1.23 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005771/0.8575, allocations: 0.6445 MB / 1.23 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.858, allocations: 79.33 kB / 1.23 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.858, allocations: 20 kB / 1.231 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007101/0.8587, allocations: 481.5 kB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005851/0.8593, allocations: 404.3 kB / 1.231 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009608/0.8603, allocations: 0.6087 MB / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.8603, allocations: 0 / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001319/0.8616, allocations: 0.7759 MB / 1.233 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8617, allocations: 8.562 kB / 1.233 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.8617, allocations: 4 kB / 1.233 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.423e-06/0.8617, allocations: 4 kB / 1.233 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.8622, allocations: 132 kB / 1.233 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.8622, allocations: 4 kB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.8627, allocations: 67.58 kB / 1.233 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.8627, allocations: 23.94 kB / 1.233 GB, free: 4.207 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.0001591/0.8629, allocations: 208.1 kB / 1.233 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.863, allocations: 51.25 kB / 1.233 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/0.8638, allocations: 239 kB / 1.233 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8638, allocations: 4 kB / 1.233 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8638, allocations: 3.938 kB / 1.233 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8638, allocations: 0 / 1.233 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.8643, allocations: 397.1 kB / 1.234 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8643, allocations: 4 kB / 1.234 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.8646, allocations: 51.95 kB / 1.234 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8646, allocations: 0 / 1.234 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8646, allocations: 4 kB / 1.234 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003345/0.8649, allocations: 0.6055 MB / 1.234 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.865, allocations: 4.062 kB / 1.234 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.8656, allocations: 334.7 kB / 1.235 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.8658, allocations: 156.3 kB / 1.235 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.8659, allocations: 4 kB / 1.235 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.8662, allocations: 19.97 kB / 1.235 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.8662, allocations: 11.98 kB / 1.235 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.8663, allocations: 8 kB / 1.235 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000647/0.8669, allocations: 0.5224 MB / 1.235 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8669, allocations: 4 kB / 1.235 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009273/0.8679, allocations: 299.8 kB / 1.236 GB, free: 1.188 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.0006786/0.8685, allocations: 349.2 kB / 1.236 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.8707, allocations: 0.8732 MB / 1.237 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8707, allocations: 3.938 kB / 1.237 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.8711, allocations: 100.5 kB / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.872, allocations: 201.4 kB / 1.237 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.8748, allocations: 1.138 MB / 1.238 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.8753, allocations: 0.9013 MB / 1.239 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.8755, allocations: 55.42 kB / 1.239 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of SimCode: time 4.4e-07/0.8755, allocations: 0 / 1.239 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.01612/0.8917, allocations: 11.56 MB / 1.251 GB, free: 2.012 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)