Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001116/0.001116, allocations: 193.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.1 MB / 222 MB, free: 4.773 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.44/1.44, allocations: 292.3 MB / 0.5484 GB, free: 13.6 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.001221/0.001221, allocations: 67.36 kB / 0.6709 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003667/0.1625, allocations: 3.172 MB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1639, allocations: 0.9787 MB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1641, allocations: 15.94 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1643, allocations: 55.52 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1644, allocations: 71.42 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.1649, allocations: 219.7 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.1653, allocations: 0.5036 MB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.1656, allocations: 243.6 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1658, allocations: 171 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.166, allocations: 194.9 kB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.166, allocations: 24 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.1661, allocations: 24 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1662, allocations: 83.56 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1663, allocations: 218.7 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.1667, allocations: 0.5178 MB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1667, allocations: 3.938 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.51e-07/0.1667, allocations: 0 / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1667, allocations: 0 / 0.7891 GB, free: 7.387 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001015/0.1677, allocations: 0.7738 MB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1678, allocations: 8.031 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.1679, allocations: 70.72 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.1679, allocations: 56.28 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.1684, allocations: 412.6 kB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1685, allocations: 29.38 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.1685, allocations: 40.36 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.1691, allocations: 397.7 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1691, allocations: 0 / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.1692, allocations: 16 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1692, allocations: 12 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.1697, allocations: 271.8 kB / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.1712, allocations: 1.313 MB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1718, allocations: 325.3 kB / 0.7927 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.1721, allocations: 140.8 kB / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1721, allocations: 4 kB / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.1724, allocations: 169.6 kB / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.1724, allocations: 0 / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0007067/0.1731, allocations: 378.9 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1732, allocations: 93.09 kB / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1736, allocations: 345.6 kB / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1736, allocations: 33.7 kB / 0.7938 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1737, allocations: 244.8 kB / 0.794 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.1738, allocations: 94.56 kB / 0.7941 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1739, allocations: 74.06 kB / 0.7942 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1741, allocations: 346.8 kB / 0.7945 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1743, allocations: 104.7 kB / 0.7946 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1745, allocations: 172.4 kB / 0.7948 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.1749, allocations: 255.8 kB / 0.795 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1749, allocations: 7.875 kB / 0.7951 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005482/0.1755, allocations: 354.2 kB / 0.7954 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1755, allocations: 4 kB / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1755, allocations: 0 / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1755, allocations: 4 kB / 0.7954 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.1758, allocations: 67.89 kB / 0.7955 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1758, allocations: 7.938 kB / 0.7955 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.176, allocations: 51.8 kB / 0.7955 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.176, allocations: 8 kB / 0.7955 GB, free: 484 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002018/0.1762, allocations: 173.7 kB / 0.7957 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.1763, allocations: 39.53 kB / 0.7957 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.1763, allocations: 44.23 kB / 0.7958 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1764, allocations: 7.984 kB / 0.7958 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1764, allocations: 0 / 0.7958 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1764, allocations: 0 / 0.7958 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.1773, allocations: 0.823 MB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1773, allocations: 4 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.1776, allocations: 47.91 kB / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1776, allocations: 0 / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1776, allocations: 8 kB / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1776, allocations: 0 / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1776, allocations: 0 / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.1785, allocations: 0.5072 MB / 0.7971 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1786, allocations: 136.6 kB / 0.7973 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.1786, allocations: 8 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1788, allocations: 19.97 kB / 0.7973 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.1789, allocations: 28.03 kB / 0.7973 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1789, allocations: 12 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002168/0.1791, allocations: 243.1 kB / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1791, allocations: 0 / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002977/0.1794, allocations: 87.69 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001097/0.1805, allocations: 1.072 MB / 0.7987 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.181, allocations: 264 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.181, allocations: 0 / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.1812, allocations: 136.3 kB / 0.7991 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1817, allocations: 81.44 kB / 0.7992 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.1859, allocations: 3.641 MB / 0.8027 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1862, allocations: 0.8113 MB / 0.8035 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000155/0.1863, allocations: 39.27 kB / 0.8035 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.1865, allocations: 147.4 kB / 0.8037 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.1865, allocations: 0 / 0.8037 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.96/2.146, allocations: 6.947 MB / 0.8105 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/2.146, allocations: 205.1 kB / 0.8107 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/3.859, allocations: 0 / 0.8107 GB, free: 0.7891 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)