Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 97.56 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.00567/0.00567, allocations: 169.6 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.53/2.53, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 10.69 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3209, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.002786/0.3237, allocations: 2.331 MB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3256, allocations: 1.391 MB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.3258, allocations: 7.938 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.3262, allocations: 107.5 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.3264, allocations: 103.5 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3269, allocations: 231.7 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000406/0.3273, allocations: 475.8 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.3276, allocations: 205.1 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3278, allocations: 135.2 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.328, allocations: 162.9 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.328, allocations: 12 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3282, allocations: 63.97 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.3282, allocations: 75.61 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3284, allocations: 188.5 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3289, allocations: 0.6152 MB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3289, allocations: 4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3289, allocations: 4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3289, allocations: 0 / 1.065 GB, free: 14.75 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.001031/0.3299, allocations: 0.6827 MB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.33, allocations: 12.03 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.837e-05/0.33, allocations: 66.72 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.3301, allocations: 52.28 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.3306, allocations: 406.8 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3306, allocations: 24.69 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.3307, allocations: 28 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.3313, allocations: 327.7 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3313, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.3313, allocations: 8 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3313, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.3318, allocations: 250.1 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.3333, allocations: 1.138 MB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.334, allocations: 369.8 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.3343, allocations: 140.8 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3343, allocations: 7.938 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.3346, allocations: 147.9 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.3346, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0007289/0.3354, allocations: 347 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3354, allocations: 93.05 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.3359, allocations: 457.6 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3359, allocations: 33.7 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3361, allocations: 232.1 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.3361, allocations: 71 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.3362, allocations: 37.7 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3363, allocations: 346.8 kB / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3366, allocations: 124.6 kB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3368, allocations: 197.1 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.3373, allocations: 271.6 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3373, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006467/0.338, allocations: 390.8 kB / 1.071 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.148e-05/0.3381, allocations: 138.2 kB / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3381, allocations: 11.94 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3381, allocations: 4 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3384, allocations: 75.89 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3384, allocations: 8 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3386, allocations: 43.67 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.3386, allocations: 15.98 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.3386, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000478/0.3391, allocations: 295.7 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.3391, allocations: 0 / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/0.3391, allocations: 4 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3394, allocations: 71.89 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3394, allocations: 3.938 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3396, allocations: 35.73 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3396, allocations: 12.09 kB / 1.071 GB, free: 7.504 MB / 0.8262 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.0001878/0.3398, allocations: 259.1 kB / 1.072 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.3398, allocations: 39.53 kB / 1.072 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.3404, allocations: 286.8 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3404, allocations: 3.938 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3404, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3404, allocations: 3.984 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.3414, allocations: 0.7805 MB / 1.073 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3414, allocations: 0 / 1.073 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3416, allocations: 43.91 kB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3416, allocations: 0 / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.3416, allocations: 8 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3416, allocations: 0 / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3416, allocations: 7.984 kB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.3423, allocations: 489.5 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.3424, allocations: 124.6 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3425, allocations: 8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3426, allocations: 15.98 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.3427, allocations: 15.97 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3427, allocations: 16.05 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002867/0.343, allocations: 299.2 kB / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.473e-06/0.343, allocations: 4 kB / 1.074 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004584/0.3435, allocations: 147.5 kB / 1.074 GB, free: 4.887 MB / 0.8262 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.001866/0.3454, allocations: 1.326 MB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007251/0.3461, allocations: 422.2 kB / 1.076 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3461, allocations: 4.25 kB / 1.076 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3463, allocations: 106.5 kB / 1.076 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.3468, allocations: 85.44 kB / 1.076 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.3512, allocations: 3.742 MB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3515, allocations: 0.8152 MB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.3518, allocations: 67.23 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.352, allocations: 139.4 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.352, allocations: 0 / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.575/6.927, allocations: 7.562 MB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004297/6.927, allocations: 304.9 kB / 1.088 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/9.207, allocations: 4.062 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure_fmu --startTime=0 --stopTime=8400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1)