Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00113/0.00113, 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.009396/0.009396, allocations: 169.7 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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 11.97 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3943, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003287/0.3976, allocations: 2.333 MB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.4001, allocations: 1.399 MB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.4003, allocations: 11.88 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.4008, allocations: 103.5 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.4011, allocations: 107.5 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.4017, allocations: 231.7 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000465/0.4022, allocations: 471.8 kB / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.4025, allocations: 207 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.4028, allocations: 143.2 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.403, allocations: 159 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.403, allocations: 12 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.4032, allocations: 59.97 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.4033, allocations: 79.61 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.4034, allocations: 188.5 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.404, allocations: 0.6152 MB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.404, allocations: 0 / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.404, allocations: 0 / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.404, allocations: 0 / 1.08 GB, free: 1.422 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.001199/0.4052, allocations: 0.6866 MB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4053, allocations: 12.03 kB / 1.081 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.4054, allocations: 52.28 kB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.4059, allocations: 406.8 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.406, allocations: 20.94 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.406, allocations: 35.94 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.4067, allocations: 323.7 kB / 1.082 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4067, allocations: 3.938 kB / 1.082 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.4067, allocations: 12 kB / 1.082 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4067, allocations: 8 kB / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.4073, allocations: 242.1 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.4089, allocations: 1.145 MB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.4096, allocations: 362.6 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.4099, allocations: 140.8 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.4099, allocations: 7.938 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.4103, allocations: 159.2 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.4103, allocations: 4 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0007759/0.4111, allocations: 339.9 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4111, allocations: 81.11 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.4116, allocations: 469.4 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4117, allocations: 33.7 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.4118, allocations: 228.2 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.4119, allocations: 67.02 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.412, allocations: 41.69 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4121, allocations: 346.8 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4124, allocations: 116.6 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.4127, allocations: 205.1 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.4132, allocations: 279.5 kB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4132, allocations: 0 / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006934/0.4139, allocations: 390.8 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-05/0.414, allocations: 142.2 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.414, allocations: 4 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.414, allocations: 0 / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.4143, allocations: 79.91 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4143, allocations: 3.984 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.4145, allocations: 43.67 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.4146, allocations: 19.98 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.4146, allocations: 4 kB / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000522/0.4151, allocations: 295.6 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4151, allocations: 4 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-06/0.4151, allocations: 4 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.4154, allocations: 59.91 kB / 1.087 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4154, allocations: 4 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.4156, allocations: 47.86 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4156, allocations: 8 kB / 1.087 GB, free: 10.26 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.000212/0.4158, allocations: 253 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.4159, allocations: 39.52 kB / 1.087 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.4165, allocations: 291.8 kB / 1.087 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4165, allocations: 4 kB / 1.087 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.4165, allocations: 3.938 kB / 1.087 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4166, allocations: 0 / 1.087 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4176, allocations: 0.783 MB / 1.088 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4176, allocations: 0 / 1.088 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.4178, allocations: 43.97 kB / 1.088 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4178, allocations: 0 / 1.088 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4179, allocations: 4 kB / 1.088 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4179, allocations: 12 kB / 1.088 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4179, allocations: 0 / 1.088 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.4187, allocations: 488.7 kB / 1.089 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.4188, allocations: 124.6 kB / 1.089 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.4189, allocations: 0 / 1.089 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.4191, allocations: 19.98 kB / 1.089 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.4191, allocations: 24.03 kB / 1.089 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4192, allocations: 8 kB / 1.089 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003158/0.4195, allocations: 299.1 kB / 1.089 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.483e-06/0.4195, allocations: 0 / 1.089 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004989/0.42, allocations: 139.5 kB / 1.089 GB, free: 7.648 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.0009984/0.421, allocations: 420.8 kB / 1.09 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008482/0.4219, allocations: 416.6 kB / 1.09 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4219, allocations: 4.75 kB / 1.09 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.4221, allocations: 118.3 kB / 1.09 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.4227, allocations: 94.02 kB / 1.09 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.424, allocations: 0.829 MB / 1.091 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.4244, allocations: 0.8114 MB / 1.092 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.4246, allocations: 59.23 kB / 1.092 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.4247, allocations: 39.42 kB / 1.092 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4247, allocations: 0 / 1.092 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.009121/0.4338, allocations: 4.202 MB / 1.096 GB, free: 0.8555 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1)