Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001644/0.001644, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 275.2 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 93.88 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1523, allocations: 89.16 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005971/0.1583, allocations: 4.337 MB / 0.697 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1611, allocations: 1.549 MB / 0.6985 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.1615, allocations: 35.81 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1619, allocations: 118.8 kB / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005597/0.1624, allocations: 182.8 kB / 0.6988 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1637, allocations: 0.6218 MB / 0.6995 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.1649, allocations: 1.14 MB / 0.7006 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.1656, allocations: 496.4 kB / 0.701 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.1662, allocations: 401.8 kB / 0.7014 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.1666, allocations: 421.5 kB / 0.7018 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1667, allocations: 52 kB / 0.7019 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1669, allocations: 48 kB / 0.7019 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.167, allocations: 187 kB / 0.7021 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.1674, allocations: 433 kB / 0.7025 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1684, allocations: 1.062 MB / 0.7036 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1685, allocations: 0 / 0.7036 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.41e-07/0.1685, allocations: 0 / 0.7036 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.1685, allocations: 0 / 0.7036 GB, free: 9.75 MB / 0.4981 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.002464/0.1709, allocations: 1.399 MB / 0.7049 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.171, allocations: 8.031 kB / 0.7049 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.1712, allocations: 123.5 kB / 0.705 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.1724, allocations: 0.7353 MB / 0.7058 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.1725, allocations: 76.27 kB / 0.7058 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1727, allocations: 72.38 kB / 0.7059 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.174, allocations: 0.729 MB / 0.7066 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1741, allocations: 3.938 kB / 0.7066 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.1742, allocations: 35.98 kB / 0.7067 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.1742, allocations: 16 kB / 0.7067 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.1754, allocations: 0.5126 MB / 0.7072 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.179, allocations: 2.271 MB / 0.7094 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.1805, allocations: 0.6311 MB / 0.71 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.1811, allocations: 271.1 kB / 0.7103 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.1812, allocations: 12.55 kB / 0.7103 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007582/0.182, allocations: 323 kB / 0.7106 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/0.182, allocations: 0 / 0.7106 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001712/0.1837, allocations: 0.7516 MB / 0.7113 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.1838, allocations: 89.66 kB / 0.7114 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/0.1847, allocations: 0.7478 MB / 0.7121 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.1848, allocations: 41.7 kB / 0.7122 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.1852, allocations: 440.4 kB / 0.7126 GB, free: 232 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.1854, allocations: 209 kB / 0.7128 GB, free: 20 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1856, allocations: 114.3 kB / 0.7129 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1857, allocations: 329.9 kB / 0.7132 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.1862, allocations: 215.4 kB / 0.7134 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.1868, allocations: 304.5 kB / 0.7137 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.1879, allocations: 0.5036 MB / 0.7142 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1879, allocations: 0 / 0.7142 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001329/0.1892, allocations: 0.65 MB / 0.7148 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1893, allocations: 4 kB / 0.7148 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.1893, allocations: 8.25 kB / 0.7148 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1893, allocations: 4 kB / 0.7149 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.19, allocations: 151.8 kB / 0.715 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.19, allocations: 7.938 kB / 0.715 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.1904, allocations: 67.34 kB / 0.7151 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.1905, allocations: 20 kB / 0.7151 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006576/0.1911, allocations: 362.7 kB / 0.7154 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005269/0.1917, allocations: 284.5 kB / 0.7157 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009719/0.1927, allocations: 0.5034 MB / 0.7162 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.1927, allocations: 0 / 0.7162 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001221/0.1939, allocations: 0.6267 MB / 0.7168 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1939, allocations: 9.406 kB / 0.7168 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.1939, allocations: 0 / 0.7168 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.1939, allocations: 8 kB / 0.7168 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.1946, allocations: 139.8 kB / 0.717 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1946, allocations: 8 kB / 0.717 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.195, allocations: 59.64 kB / 0.717 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.195, allocations: 24 kB / 0.717 GB, free: 11.49 MB / 0.5137 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.1952, allocations: 212.1 kB / 0.7172 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1954, allocations: 94.78 kB / 0.7173 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.1956, allocations: 101.2 kB / 0.7174 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1956, allocations: 11.94 kB / 0.7174 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1956, allocations: 3.938 kB / 0.7174 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1956, allocations: 7.984 kB / 0.7175 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.1979, allocations: 1.423 MB / 0.7188 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1979, allocations: 96 / 0.7188 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.1985, allocations: 119.8 kB / 0.719 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1985, allocations: 3.984 kB / 0.719 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.1986, allocations: 15.98 kB / 0.719 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1986, allocations: 4 kB / 0.719 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1986, allocations: 3.984 kB / 0.719 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.2005, allocations: 0.9625 MB / 0.7199 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.2008, allocations: 219.7 kB / 0.7201 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.2009, allocations: 19.98 kB / 0.7202 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.2013, allocations: 31.97 kB / 0.7202 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.2014, allocations: 36.52 kB / 0.7202 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2015, allocations: 19.98 kB / 0.7202 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006842/0.2022, allocations: 0.5185 MB / 0.7207 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2022, allocations: 3.938 kB / 0.7208 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000706/0.2029, allocations: 271.1 kB / 0.721 GB, free: 7.34 MB / 0.5137 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 (trigger.y,$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 (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.0001498/0.203, allocations: 119.1 kB / 0.7211 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.2047, allocations: 0.7924 MB / 0.7219 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2048, allocations: 4.125 kB / 0.7219 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.2053, allocations: 267.2 kB / 0.7222 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2065, allocations: 242.8 kB / 0.7224 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.2093, allocations: 1.896 MB / 0.7242 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.21, allocations: 0.9901 MB / 0.7252 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004859/0.2105, allocations: 122.8 kB / 0.7253 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.2107, allocations: 59.44 kB / 0.7254 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2107, allocations: 4 kB / 0.7254 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of Templates: time 0.01694/0.2276, allocations: 8.755 MB / 0.7339 GB, free: 10.13 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)