Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001477/0.001477, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001428/0.001428, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002403/0.002403, allocations: 292.5 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.187/1.187, allocations: 178.5 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 91.84 kB / 0.6071 GB, free: 9.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1874, allocations: 89.14 MB / 0.6942 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004353/0.1918, allocations: 2.375 MB / 0.6965 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008692/0.2005, allocations: 3.784 MB / 0.7002 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.2011, allocations: 8 kB / 0.7002 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007213/0.2084, allocations: 3.218 MB / 0.7033 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.2096, allocations: 402.4 kB / 0.7037 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2109, allocations: 0.5129 MB / 0.7042 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005167/0.2161, allocations: 3.3 MB / 0.7074 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.2163, allocations: 44.67 kB / 0.7075 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.2168, allocations: 211.3 kB / 0.7077 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.2172, allocations: 207.1 kB / 0.7079 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.2173, allocations: 16 kB / 0.7079 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.2184, allocations: 0.5694 MB / 0.7084 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.2187, allocations: 207.3 kB / 0.7086 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.2191, allocations: 258.5 kB / 0.7089 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3218/0.5409, allocations: 0.9344 MB / 0.7098 GB, free: 43.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.5409, allocations: 2.391 kB / 0.7098 GB, free: 43.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5409, allocations: 0 / 0.7098 GB, free: 43.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.216e-05/0.541, allocations: 0 / 0.7098 GB, free: 43.54 MB / 0.545 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.00156/0.5426, allocations: 0.9285 MB / 0.7107 GB, free: 42.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5426, allocations: 10.25 kB / 0.7107 GB, free: 42.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.5434, allocations: 153.3 kB / 0.7109 GB, free: 42.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5448, allocations: 1.143 MB / 0.712 GB, free: 42.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.5449, allocations: 11.34 kB / 0.712 GB, free: 42.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.5449, allocations: 13.27 kB / 0.712 GB, free: 42.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.5454, allocations: 176 kB / 0.7122 GB, free: 42.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5454, allocations: 1.625 kB / 0.7122 GB, free: 42.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.5454, allocations: 4.781 kB / 0.7122 GB, free: 42.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5455, allocations: 2.344 kB / 0.7122 GB, free: 42.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.5461, allocations: 178.2 kB / 0.7124 GB, free: 42.6 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.5472, allocations: 0.7214 MB / 0.7131 GB, free: 42.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.548, allocations: 193.1 kB / 0.7132 GB, free: 42.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.5482, allocations: 86.31 kB / 0.7133 GB, free: 42.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.5483, allocations: 3.25 kB / 0.7133 GB, free: 42.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.5483, allocations: 30.56 kB / 0.7134 GB, free: 42.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.5483, allocations: 2.781 kB / 0.7134 GB, free: 42.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0009014/0.5492, allocations: 310.6 kB / 0.7137 GB, free: 42.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.5492, allocations: 57.38 kB / 0.7137 GB, free: 42.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.5499, allocations: 0.7689 MB / 0.7145 GB, free: 41.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5499, allocations: 30.39 kB / 0.7145 GB, free: 41.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.5501, allocations: 259.4 kB / 0.7147 GB, free: 41.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.5501, allocations: 36.53 kB / 0.7148 GB, free: 41.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.5502, allocations: 156.3 kB / 0.7149 GB, free: 41.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.5503, allocations: 373.2 kB / 0.7153 GB, free: 41.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.5508, allocations: 298 kB / 0.7156 GB, free: 41.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.5513, allocations: 412 kB / 0.716 GB, free: 41.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/0.5521, allocations: 0.6182 MB / 0.7166 GB, free: 41.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5521, allocations: 0 / 0.7166 GB, free: 41.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001126/0.5532, allocations: 0.7984 MB / 0.7173 GB, free: 41.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5532, allocations: 9.531 kB / 0.7173 GB, free: 41.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5533, allocations: 4.844 kB / 0.7173 GB, free: 41.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5533, allocations: 5.625 kB / 0.7174 GB, free: 41.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.5539, allocations: 124.9 kB / 0.7175 GB, free: 41.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003743/0.5543, allocations: 0.6252 MB / 0.7181 GB, free: 40.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.5547, allocations: 86.58 kB / 0.7182 GB, free: 40.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.5547, allocations: 25.09 kB / 0.7182 GB, free: 40.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005488/0.5553, allocations: 481.8 kB / 0.7187 GB, free: 40.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004597/0.5558, allocations: 416.6 kB / 0.719 GB, free: 40.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007774/0.5565, allocations: 0.6063 MB / 0.7196 GB, free: 40.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.5565, allocations: 0 / 0.7196 GB, free: 40.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001084/0.5576, allocations: 0.7841 MB / 0.7204 GB, free: 40.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.5577, allocations: 5.875 kB / 0.7204 GB, free: 40.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5577, allocations: 6.203 kB / 0.7204 GB, free: 40.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.431e-06/0.5577, allocations: 5.781 kB / 0.7204 GB, free: 40.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.5581, allocations: 128.5 kB / 0.7205 GB, free: 40.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5582, allocations: 9.031 kB / 0.7206 GB, free: 40.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.5585, allocations: 69.77 kB / 0.7206 GB, free: 40 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.5586, allocations: 24.44 kB / 0.7206 GB, free: 39.99 MB / 0.545 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 9.815e-05/0.5587, allocations: 207.6 kB / 0.7208 GB, free: 39.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.5587, allocations: 54.22 kB / 0.7209 GB, free: 39.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.5594, allocations: 249.5 kB / 0.7211 GB, free: 39.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5594, allocations: 0 / 0.7211 GB, free: 39.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5594, allocations: 0.5 kB / 0.7211 GB, free: 39.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.5594, allocations: 8.312 kB / 0.7211 GB, free: 39.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.5597, allocations: 381 kB / 0.7215 GB, free: 39.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5597, allocations: 0.75 kB / 0.7215 GB, free: 39.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.56, allocations: 53.94 kB / 0.7216 GB, free: 39.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.56, allocations: 0 / 0.7216 GB, free: 39.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.56, allocations: 7.219 kB / 0.7216 GB, free: 39.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001788/0.5602, allocations: 0.6024 MB / 0.7221 GB, free: 38.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5602, allocations: 0.5 kB / 0.7222 GB, free: 38.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/0.5608, allocations: 346 kB / 0.7225 GB, free: 38.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.561, allocations: 155.2 kB / 0.7226 GB, free: 38.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.5611, allocations: 7.188 kB / 0.7226 GB, free: 38.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.5613, allocations: 23.78 kB / 0.7227 GB, free: 38.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.5614, allocations: 10.28 kB / 0.7227 GB, free: 38.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5614, allocations: 3.188 kB / 0.7227 GB, free: 38.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004473/0.5618, allocations: 0.5212 MB / 0.7232 GB, free: 38.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5618, allocations: 4 kB / 0.7232 GB, free: 38.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007702/0.5626, allocations: 294.2 kB / 0.7235 GB, free: 38.2 MB / 0.545 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.0005751/0.5632, allocations: 340.3 kB / 0.7238 GB, free: 38.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.565, allocations: 0.89 MB / 0.7247 GB, free: 37.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.565, allocations: 0 / 0.7247 GB, free: 37.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.5654, allocations: 106.9 kB / 0.7248 GB, free: 37.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.5661, allocations: 204.2 kB / 0.725 GB, free: 37.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.5684, allocations: 1.156 MB / 0.7261 GB, free: 37.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.5687, allocations: 0.9011 MB / 0.727 GB, free: 36.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.5689, allocations: 53.17 kB / 0.727 GB, free: 36.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5689, allocations: 3.938 kB / 0.727 GB, free: 36.47 MB / 0.545 GB Notification: Performance of Templates: time 0.01212/0.581, allocations: 11.51 MB / 0.7383 GB, free: 35.35 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)