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.001178/0.001184, allocations: 101.1 kB / 16.27 MB, free: 5.965 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.001049/0.001049, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 70.64 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3344, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004045/0.3385, allocations: 2.381 MB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00618/0.3447, allocations: 3.8 MB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.3451, allocations: 11.94 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006104/0.3513, allocations: 3.206 MB / 1.073 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3523, allocations: 413.6 kB / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3536, allocations: 0.5029 MB / 1.074 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.3587, allocations: 3.304 MB / 1.078 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3589, allocations: 40.73 kB / 1.078 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.3594, allocations: 207.3 kB / 1.078 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.3598, allocations: 207.1 kB / 1.078 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.386e-05/0.3599, allocations: 20 kB / 1.078 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.3609, allocations: 0.5655 MB / 1.079 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3611, allocations: 207.3 kB / 1.079 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.4686/0.8298, allocations: 263.5 kB / 1.079 GB, free: 16.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.8316, allocations: 0.932 MB / 1.08 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8317, allocations: 1.562 kB / 1.08 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8317, allocations: 0 / 1.08 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.8317, allocations: 0 / 1.08 GB, free: 16.22 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.001526/0.8332, allocations: 0.9227 MB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8333, allocations: 9.875 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.8342, allocations: 155.1 kB / 1.081 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.8358, allocations: 1.149 MB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.8358, allocations: 10.33 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.8359, allocations: 12.44 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.8364, allocations: 175.2 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8364, allocations: 0 / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.8365, allocations: 1.094 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8365, allocations: 5 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/0.8372, allocations: 176.9 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.8386, allocations: 0.72 MB / 1.083 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/0.8395, allocations: 192.2 kB / 1.083 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.8399, allocations: 87.09 kB / 1.083 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.8399, allocations: 5.562 kB / 1.083 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.8399, allocations: 35.56 kB / 1.083 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.8399, allocations: 0 / 1.083 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001069/0.841, allocations: 316.2 kB / 1.084 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.841, allocations: 52.59 kB / 1.084 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.842, allocations: 0.7727 MB / 1.085 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8421, allocations: 28.89 kB / 1.085 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.8422, allocations: 250.4 kB / 1.085 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.8423, allocations: 38.88 kB / 1.085 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.8425, allocations: 155.7 kB / 1.085 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8426, allocations: 375 kB / 1.085 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.8432, allocations: 296.2 kB / 1.086 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.8439, allocations: 413.6 kB / 1.086 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.845, allocations: 0.6223 MB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.845, allocations: 3.734 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001518/0.8465, allocations: 0.7997 MB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8466, allocations: 6.594 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.8466, allocations: 3.531 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.8466, allocations: 5.25 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.8474, allocations: 131.5 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/0.8478, allocations: 0.6208 MB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.8483, allocations: 84.53 kB / 1.088 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.8484, allocations: 24.98 kB / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007456/0.8492, allocations: 479 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006017/0.8498, allocations: 411.3 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009963/0.8508, allocations: 0.6082 MB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.086e-06/0.8508, allocations: 1.062 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00143/0.8522, allocations: 0.7912 MB / 1.09 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8523, allocations: 8.938 kB / 1.09 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8523, allocations: 5 kB / 1.09 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.8523, allocations: 5.438 kB / 1.09 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.8529, allocations: 126.9 kB / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.8529, allocations: 6.547 kB / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.8534, allocations: 66.12 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.8535, allocations: 22.2 kB / 1.091 GB, free: 12.05 MB / 0.8419 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.0001495/0.8536, allocations: 203.3 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.8537, allocations: 54.8 kB / 1.091 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008427/0.8546, allocations: 251 kB / 1.091 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8546, allocations: 2.172 kB / 1.091 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8546, allocations: 2.062 kB / 1.091 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8546, allocations: 5.266 kB / 1.091 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.8551, allocations: 387.2 kB / 1.092 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.8551, allocations: 1.219 kB / 1.092 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.8555, allocations: 53.41 kB / 1.092 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8555, allocations: 0.5625 kB / 1.092 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8555, allocations: 6.016 kB / 1.092 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002038/0.8557, allocations: 0.6023 MB / 1.092 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8557, allocations: 3.219 kB / 1.092 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.8564, allocations: 342.7 kB / 1.093 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.8566, allocations: 155.8 kB / 1.093 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.8567, allocations: 5.188 kB / 1.093 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.857, allocations: 23.22 kB / 1.093 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.857, allocations: 10.45 kB / 1.093 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.8571, allocations: 3.953 kB / 1.093 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006811/0.8577, allocations: 0.5193 MB / 1.093 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8578, allocations: 10.47 kB / 1.093 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001207/0.859, allocations: 303.2 kB / 1.094 GB, free: 10.24 MB / 0.8419 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.0007404/0.8597, allocations: 336.7 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.8621, allocations: 0.8865 MB / 1.095 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8621, allocations: 0 / 1.095 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.8625, allocations: 108.9 kB / 1.095 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.8635, allocations: 197.7 kB / 1.095 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.8669, allocations: 1.157 MB / 1.096 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.8675, allocations: 0.8981 MB / 1.097 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.8677, allocations: 56.27 kB / 1.097 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of SimCode: time 1.393e-06/0.8678, allocations: 0.625 kB / 1.097 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of Templates: time 0.02352/0.8913, allocations: 11.5 MB / 1.108 GB, free: 7.363 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)