Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009998, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006172/0.006172, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.239/3.239, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 9.875 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3444, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003221/0.3477, allocations: 2.329 MB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.3502, allocations: 1.395 MB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.3505, allocations: 8 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.3509, allocations: 115.4 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.3512, allocations: 107.5 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.3518, allocations: 231 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3522, allocations: 471.8 kB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.3526, allocations: 203 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.3528, allocations: 147.2 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.353, allocations: 163 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.3531, allocations: 12 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3532, allocations: 59.97 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.3533, allocations: 79.61 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3535, allocations: 184.5 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.3541, allocations: 0.6113 MB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3541, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3541, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.3541, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001169/0.3553, allocations: 0.6943 MB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3553, allocations: 12.03 kB / 1.081 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.3554, allocations: 52.28 kB / 1.081 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.3559, allocations: 410.8 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.356, allocations: 20.94 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.356, allocations: 31.94 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.3567, allocations: 331.7 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3567, allocations: 0 / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3567, allocations: 12 kB / 1.082 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3567, allocations: 4 kB / 1.082 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.3572, allocations: 242.1 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.3589, allocations: 1.145 MB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.3597, allocations: 364.8 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.36, allocations: 132.8 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.36, allocations: 11.94 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.3603, allocations: 152.6 kB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.3604, allocations: 0 / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0007823/0.3611, allocations: 351.6 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3612, allocations: 77.11 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.3618, allocations: 469.4 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.3618, allocations: 29.7 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.362, allocations: 236.2 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.362, allocations: 67 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.3621, allocations: 37.7 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3622, allocations: 350.8 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.3625, allocations: 116.6 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.3628, allocations: 197.2 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.3633, allocations: 283.5 kB / 1.086 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3633, allocations: 0 / 1.086 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006872/0.364, allocations: 391 kB / 1.086 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.3641, allocations: 142 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3641, allocations: 0 / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3641, allocations: 4 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.3644, allocations: 75.89 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3645, allocations: 12 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3647, allocations: 47.67 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.3647, allocations: 15.98 kB / 1.086 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.3647, allocations: 5.562 kB / 1.086 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005077/0.3653, allocations: 291.7 kB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.3653, allocations: 0 / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.3653, allocations: 4 kB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3655, allocations: 76.03 kB / 1.087 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3656, allocations: 7.938 kB / 1.087 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3657, allocations: 35.67 kB / 1.087 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3658, allocations: 16 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition1,resDpLoc.ctlDpRem.con1.y,ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.366, allocations: 253 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.3661, allocations: 39.52 kB / 1.087 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.3667, allocations: 287.9 kB / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3667, allocations: 0 / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3667, allocations: 7.938 kB / 1.087 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3667, allocations: 7.984 kB / 1.087 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3678, allocations: 0.7674 MB / 1.088 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3678, allocations: 3.984 kB / 1.088 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.368, allocations: 47.92 kB / 1.088 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.368, allocations: 0 / 1.088 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.368, allocations: 7.984 kB / 1.088 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.368, allocations: 0 / 1.088 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.368, allocations: 0 / 1.088 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.3688, allocations: 488.8 kB / 1.089 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.3689, allocations: 120.6 kB / 1.089 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.369, allocations: 8 kB / 1.089 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3692, allocations: 24.05 kB / 1.089 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.3693, allocations: 11.98 kB / 1.089 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3693, allocations: 7.984 kB / 1.089 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003384/0.3696, allocations: 303.1 kB / 1.089 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.547e-06/0.3696, allocations: 0 / 1.089 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000503/0.3701, allocations: 143.4 kB / 1.089 GB, free: 7.664 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (resDpLoc.ctlDpRem.I.y) * Number of discrete variables: 3 ($whenCondition1,ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled) * Number of discrete states: 2 (ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009645/0.3711, allocations: 421.6 kB / 1.09 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008409/0.372, allocations: 424.9 kB / 1.09 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.372, allocations: 0 / 1.09 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.3722, allocations: 103.9 kB / 1.09 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.3728, allocations: 92.97 kB / 1.09 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3741, allocations: 0.829 MB / 1.091 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3745, allocations: 0.8191 MB / 1.092 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.3747, allocations: 67.22 kB / 1.092 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.3748, allocations: 27.44 kB / 1.092 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3748, allocations: 0 / 1.092 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of Templates: time 0.00886/0.3837, allocations: 4.215 MB / 1.096 GB, free: 0.8633 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1)