Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 202.3 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 0.6366 GB, free: 9.559 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008959/0.0008956, allocations: 92.5 kB / 0.7509 GB, free: 62.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 12 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 116.3 MB / 0.9884 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6969/0.9723, allocations: 147.5 MB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.9726, allocations: 85.88 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05351/1.026, allocations: 19.91 MB / 1.152 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/1.026, allocations: 4 kB / 1.152 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.423e-05/1.026, allocations: 24.75 kB / 1.152 GB, free: 15.23 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002125/1.028, allocations: 1.246 MB / 1.153 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.028, allocations: 12.02 kB / 1.153 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/1.029, allocations: 114.4 kB / 1.153 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/1.029, allocations: 124.3 kB / 1.153 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/1.03, allocations: 0.7297 MB / 1.154 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/1.03, allocations: 83.7 kB / 1.154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/1.03, allocations: 83.81 kB / 1.154 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/1.031, allocations: 0.7749 MB / 1.155 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.031, allocations: 0 / 1.155 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/1.032, allocations: 39.94 kB / 1.155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.032, allocations: 16 kB / 1.155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/1.033, allocations: 0.5595 MB / 1.156 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/1.036, allocations: 2.357 MB / 1.158 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.037, allocations: 0.6981 MB / 1.159 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/1.037, allocations: 12.55 kB / 1.159 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006464/1.038, allocations: 363.1 kB / 1.159 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.005e-06/1.038, allocations: 0 / 1.159 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.001497/1.039, allocations: 0.8261 MB / 1.16 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.039, allocations: 138 kB / 1.16 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/1.04, allocations: 0.6575 MB / 1.161 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/1.04, allocations: 37.69 kB / 1.161 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/1.04, allocations: 436.5 kB / 1.161 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.04, allocations: 209 kB / 1.161 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/1.04, allocations: 8 kB / 1.161 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/1.04, allocations: 338 kB / 1.162 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/1.041, allocations: 217.2 kB / 1.162 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/1.041, allocations: 350.1 kB / 1.162 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/1.042, allocations: 246.1 kB / 1.162 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.042, allocations: 4.875 kB / 1.162 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001133/1.043, allocations: 0.6971 MB / 1.163 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/1.043, allocations: 0.8851 MB / 1.164 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.043, allocations: 4 kB / 1.164 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.043, allocations: 4 kB / 1.164 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/1.044, allocations: 159.8 kB / 1.164 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.044, allocations: 11.94 kB / 1.164 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/1.045, allocations: 89.42 kB / 1.164 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.045, allocations: 20 kB / 1.164 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/1.045, allocations: 7.984 kB / 1.164 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009376/1.046, allocations: 0.5564 MB / 1.165 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/1.046, allocations: 0 / 1.165 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/1.046, allocations: 8.25 kB / 1.165 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/1.046, allocations: 155.8 kB / 1.165 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.046, allocations: 9.031 kB / 1.165 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/1.047, allocations: 75.41 kB / 1.165 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/1.047, allocations: 24 kB / 1.165 GB, free: 1.484 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003618/1.047, allocations: 296.1 kB / 1.165 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.047, allocations: 98.81 kB / 1.165 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/1.048, allocations: 101.3 kB / 1.165 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.048, allocations: 8 kB / 1.165 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.048, allocations: 0 / 1.165 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/1.048, allocations: 3.984 kB / 1.165 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.05, allocations: 1.532 MB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.05, allocations: 0 / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/1.051, allocations: 111.8 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.051, allocations: 4 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/1.051, allocations: 17.75 kB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.051, allocations: 0 / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.051, allocations: 0 / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/1.052, allocations: 1.05 MB / 1.168 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/1.053, allocations: 231.7 kB / 1.168 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/1.053, allocations: 12 kB / 1.168 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/1.053, allocations: 55.95 kB / 1.168 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/1.053, allocations: 36.5 kB / 1.168 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/1.053, allocations: 16 kB / 1.168 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006859/1.054, allocations: 0.5226 MB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007509/1.055, allocations: 284.8 kB / 1.169 GB, free: 13.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002159/1.057, allocations: 1.611 MB / 1.171 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00176/1.059, allocations: 0.8665 MB / 1.172 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.059, allocations: 4.125 kB / 1.172 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/1.059, allocations: 287.1 kB / 1.172 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.06, allocations: 233.3 kB / 1.172 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/1.065, allocations: 3.641 MB / 1.176 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/1.065, allocations: 1.017 MB / 1.177 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005639/1.066, allocations: 114.5 kB / 1.177 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/1.066, allocations: 359.2 kB / 1.177 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.066, allocations: 4 kB / 1.177 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/1.1, allocations: 16.71 MB / 1.193 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.1, allocations: 187.6 kB / 1.194 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.773, allocations: 0 / 1.194 GB, free: 4.062 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)