Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008573/0.0008573, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008608/0.0008608, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.56/1.56, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004764, allocations: 11.66 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1708, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003258/0.1741, allocations: 3.15 MB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1762, allocations: 1.248 MB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.1766, allocations: 23.88 kB / 0.7914 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1768, allocations: 51.38 kB / 0.7915 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.1773, allocations: 191.3 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.1783, allocations: 466.9 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.1791, allocations: 0.61 MB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.1795, allocations: 255.1 kB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.1799, allocations: 290.6 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1802, allocations: 266.3 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.1802, allocations: 24 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.1803, allocations: 20 kB / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.1804, allocations: 111.4 kB / 0.7936 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1805, allocations: 141.3 kB / 0.7938 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.181, allocations: 0.6236 MB / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.181, allocations: 0 / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.181, allocations: 0 / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.181, allocations: 0 / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001682/0.1827, allocations: 1.063 MB / 0.7954 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1828, allocations: 16.03 kB / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1829, allocations: 94.88 kB / 0.7955 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.1838, allocations: 0.5745 MB / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/0.1839, allocations: 104.4 kB / 0.7962 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.184, allocations: 52 kB / 0.7962 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.1849, allocations: 0.604 MB / 0.7968 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1849, allocations: 0 / 0.7968 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.185, allocations: 23.98 kB / 0.7968 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.185, allocations: 12 kB / 0.7968 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.1859, allocations: 439.7 kB / 0.7973 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.1884, allocations: 2.137 MB / 0.7993 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1896, allocations: 0.5233 MB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1896, allocations: 12.69 kB / 0.7999 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005874/0.1902, allocations: 290 kB / 0.8001 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.1902, allocations: 4 kB / 0.8001 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.00131/0.1916, allocations: 0.6461 MB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1916, allocations: 85.19 kB / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.1922, allocations: 0.61 MB / 0.8015 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.1923, allocations: 37.7 kB / 0.8015 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.1925, allocations: 364.6 kB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1926, allocations: 157.7 kB / 0.802 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.1926, allocations: 8 kB / 0.802 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.1928, allocations: 337.9 kB / 0.8023 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.1932, allocations: 181 kB / 0.8025 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.1936, allocations: 288.2 kB / 0.8028 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.1941, allocations: 230.5 kB / 0.803 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1941, allocations: 0 / 0.803 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001065/0.1952, allocations: 0.6178 MB / 0.8036 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.1955, allocations: 0.9869 MB / 0.8046 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1955, allocations: 0 / 0.8046 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1955, allocations: 8 kB / 0.8046 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.196, allocations: 115.8 kB / 0.8047 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.196, allocations: 4 kB / 0.8047 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.1964, allocations: 67.5 kB / 0.8047 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.1964, allocations: 16 kB / 0.8048 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.1964, allocations: 6.812 kB / 0.8048 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009088/0.1973, allocations: 0.5078 MB / 0.8053 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1974, allocations: 0 / 0.8053 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.1974, allocations: 11.95 kB / 0.8053 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.1978, allocations: 107.8 kB / 0.8054 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1978, allocations: 4 kB / 0.8054 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.1981, allocations: 63.41 kB / 0.8054 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.1982, allocations: 20.09 kB / 0.8055 GB, free: 8.688 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002236/0.1984, allocations: 273 kB / 0.8057 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.1985, allocations: 71.16 kB / 0.8058 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.1986, allocations: 83.33 kB / 0.8059 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1986, allocations: 7.953 kB / 0.8059 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1986, allocations: 0 / 0.8059 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1986, allocations: 0 / 0.8059 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.1992, allocations: 0.6257 MB / 0.8065 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1992, allocations: 4 kB / 0.8065 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.1997, allocations: 91.89 kB / 0.8066 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1997, allocations: 15.8 kB / 0.8066 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.1997, allocations: 11.98 kB / 0.8066 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1997, allocations: 4 kB / 0.8066 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1997, allocations: 3.953 kB / 0.8066 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2011, allocations: 0.7394 MB / 0.8073 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.2013, allocations: 192.1 kB / 0.8075 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.2014, allocations: 12 kB / 0.8075 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.2018, allocations: 47.95 kB / 0.8076 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.2018, allocations: 31.91 kB / 0.8076 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.2019, allocations: 19.98 kB / 0.8076 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004162/0.2023, allocations: 427 kB / 0.808 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2023, allocations: 0 / 0.808 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005216/0.2028, allocations: 215.3 kB / 0.8082 GB, free: 5.742 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001168/0.203, allocations: 123.1 kB / 0.8084 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2043, allocations: 0.8018 MB / 0.8091 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2043, allocations: 0 / 0.8091 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.2048, allocations: 231.2 kB / 0.8094 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.2055, allocations: 173.7 kB / 0.8095 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2072, allocations: 1.38 MB / 0.8109 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.2076, allocations: 0.93 MB / 0.8118 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.2079, allocations: 105.3 kB / 0.8119 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.208, allocations: 43.44 kB / 0.8119 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.208, allocations: 3.938 kB / 0.8119 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of Templates: time 0.01081/0.2189, allocations: 6.883 MB / 0.8186 GB, free: 11.07 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: