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.0009323/0.0009323, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.0009351/0.000935, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.175/1.175, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.517/1.517, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001589/0.001589, allocations: 68.8 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.167, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003712/0.1707, allocations: 3.164 MB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.172, allocations: 0.9748 MB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1722, allocations: 11.94 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.1724, allocations: 59.5 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.1726, allocations: 67.44 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.173, allocations: 224.8 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.1734, allocations: 0.5465 MB / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.1737, allocations: 267.7 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1739, allocations: 203 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1741, allocations: 206.9 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.1742, allocations: 52 kB / 0.7886 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.1743, allocations: 52 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.1743, allocations: 111.6 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1745, allocations: 234.7 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.1749, allocations: 0.5451 MB / 0.7895 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1749, allocations: 0 / 0.7895 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1749, allocations: 0 / 0.7895 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1749, allocations: 4 kB / 0.7895 GB, free: 7.086 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.0009736/0.1759, allocations: 0.7699 MB / 0.7903 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1759, allocations: 8.031 kB / 0.7903 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.176, allocations: 78.7 kB / 0.7903 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.1761, allocations: 60.28 kB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.1766, allocations: 408.6 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1766, allocations: 29.38 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.1767, allocations: 40.38 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.1772, allocations: 405.7 kB / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1773, allocations: 0 / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1773, allocations: 16 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1773, allocations: 8 kB / 0.7913 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.1778, allocations: 263.8 kB / 0.7915 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1792, allocations: 1.309 MB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.1798, allocations: 325.9 kB / 0.7931 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.1801, allocations: 144.8 kB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1801, allocations: 8 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.1804, allocations: 169.6 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.1805, allocations: 0 / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006919/0.1812, allocations: 382.9 kB / 0.7938 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1812, allocations: 89.11 kB / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.1815, allocations: 345.6 kB / 0.7942 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1815, allocations: 37.7 kB / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1817, allocations: 236.3 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.1818, allocations: 106.5 kB / 0.7945 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.1819, allocations: 74.06 kB / 0.7946 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.182, allocations: 346.8 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.1822, allocations: 104.7 kB / 0.795 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.1824, allocations: 164.4 kB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.1828, allocations: 263.8 kB / 0.7955 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1828, allocations: 3.938 kB / 0.7955 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005357/0.1834, allocations: 354.1 kB / 0.7958 GB, free: 312 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1834, allocations: 4 kB / 0.7958 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1834, allocations: 4 kB / 0.7958 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1834, allocations: 0 / 0.7958 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1837, allocations: 67.91 kB / 0.7959 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.1837, allocations: 11.92 kB / 0.7959 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1839, allocations: 39.84 kB / 0.7959 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1839, allocations: 20 kB / 0.7959 GB, free: 164 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.0001632/0.1841, allocations: 169.8 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1841, allocations: 35.53 kB / 0.7961 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.061e-05/0.1842, allocations: 48.2 kB / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1842, allocations: 0 / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1842, allocations: 4 kB / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1842, allocations: 3.984 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/0.1852, allocations: 0.8152 MB / 0.797 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1852, allocations: 0 / 0.797 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.1854, allocations: 51.91 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1855, allocations: 0 / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.1855, allocations: 11.98 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1855, allocations: 4 kB / 0.7971 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1855, allocations: 0 / 0.7971 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.1862, allocations: 0.5072 MB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1863, allocations: 140.6 kB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1864, allocations: 4 kB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1866, allocations: 15.98 kB / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.1867, allocations: 32.02 kB / 0.7977 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1867, allocations: 8 kB / 0.7977 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000209/0.1869, allocations: 247.1 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.063e-06/0.1869, allocations: 0 / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002971/0.1872, allocations: 95.62 kB / 0.7981 GB, free: 13.88 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.000956/0.1882, allocations: 1.065 MB / 0.7991 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.1887, allocations: 279.9 kB / 0.7994 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1887, allocations: 0 / 0.7994 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.1889, allocations: 136.3 kB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1894, allocations: 96.39 kB / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.1935, allocations: 3.633 MB / 0.8031 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1938, allocations: 0.8113 MB / 0.8039 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.194, allocations: 47.25 kB / 0.804 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.1942, allocations: 147.4 kB / 0.8041 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.1942, allocations: 0 / 0.8041 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8289/1.023, allocations: 7.118 MB / 0.8111 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.023, allocations: 220.7 kB / 0.8113 GB, free: 296 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.785, allocations: 0 / 0.8113 GB, free: 296 kB / 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)