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.0007962/0.0007962, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005049/0.005049, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.217/1.217, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.504/1.504, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004557/0.0004558, allocations: 12.91 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1734, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002649/0.1761, allocations: 2.787 MB / 0.7907 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1773, allocations: 0.9632 MB / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1775, allocations: 11.94 kB / 0.7917 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1776, allocations: 51.52 kB / 0.7917 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1778, allocations: 79.42 kB / 0.7918 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1782, allocations: 222.6 kB / 0.792 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.1786, allocations: 0.4997 MB / 0.7925 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.1789, allocations: 243.6 kB / 0.7927 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.179, allocations: 147.1 kB / 0.7929 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1792, allocations: 158.9 kB / 0.793 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.1792, allocations: 12 kB / 0.793 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.929e-05/0.1793, allocations: 12 kB / 0.793 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.1793, allocations: 59.64 kB / 0.7931 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1794, allocations: 212.4 kB / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1798, allocations: 0.4981 MB / 0.7938 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1798, allocations: 3.938 kB / 0.7938 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1798, allocations: 8 kB / 0.7938 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1798, allocations: 0 / 0.7938 GB, free: 5.527 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.0008254/0.1807, allocations: 0.6843 MB / 0.7945 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.1807, allocations: 12.03 kB / 0.7945 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.1808, allocations: 74.72 kB / 0.7945 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.1808, allocations: 48.38 kB / 0.7946 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.1813, allocations: 412.6 kB / 0.795 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1813, allocations: 33.36 kB / 0.795 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1814, allocations: 40.38 kB / 0.795 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.1819, allocations: 401.7 kB / 0.7954 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1819, allocations: 3.938 kB / 0.7954 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.182, allocations: 19.98 kB / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.182, allocations: 12 kB / 0.7955 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.1825, allocations: 263.8 kB / 0.7957 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1839, allocations: 1.336 MB / 0.797 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.1845, allocations: 325.6 kB / 0.7973 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.1847, allocations: 140.8 kB / 0.7975 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1848, allocations: 4 kB / 0.7975 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.1851, allocations: 173.5 kB / 0.7976 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.1851, allocations: 0 / 0.7976 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006895/0.1858, allocations: 390.9 kB / 0.798 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1858, allocations: 85.11 kB / 0.7981 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1861, allocations: 345.6 kB / 0.7984 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.1862, allocations: 41.69 kB / 0.7985 GB, free: 496 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1863, allocations: 228.9 kB / 0.7987 GB, free: 264 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.1864, allocations: 106.5 kB / 0.7988 GB, free: 156 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1864, allocations: 45.69 kB / 0.7988 GB, free: 104 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1865, allocations: 346.8 kB / 0.7992 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.1867, allocations: 104.7 kB / 0.7993 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.187, allocations: 172.4 kB / 0.7994 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1874, allocations: 263.8 kB / 0.7997 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1874, allocations: 11.88 kB / 0.7997 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005298/0.1879, allocations: 350.5 kB / 0.8 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.188, allocations: 8 kB / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.188, allocations: 0 / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.188, allocations: 4 kB / 0.8 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1882, allocations: 72.08 kB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1882, allocations: 7.938 kB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1884, allocations: 47.67 kB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1885, allocations: 12 kB / 0.8002 GB, free: 14.67 MB / 0.6231 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.000146/0.1886, allocations: 169.7 kB / 0.8003 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1887, allocations: 43.53 kB / 0.8004 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.1887, allocations: 44.25 kB / 0.8004 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1887, allocations: 7.984 kB / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1888, allocations: 0 / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1888, allocations: 0 / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.1897, allocations: 0.8192 MB / 0.8012 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1897, allocations: 0 / 0.8012 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.1899, allocations: 51.91 kB / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1899, allocations: 0 / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.19, allocations: 11.98 kB / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.19, allocations: 0 / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.19, allocations: 3.938 kB / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.1907, allocations: 0.519 MB / 0.8018 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1908, allocations: 132.5 kB / 0.8019 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1908, allocations: 4 kB / 0.8019 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.191, allocations: 27.89 kB / 0.8019 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1911, allocations: 28.02 kB / 0.802 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1911, allocations: 12 kB / 0.802 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002007/0.1913, allocations: 247.1 kB / 0.8022 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1913, allocations: 0 / 0.8022 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002891/0.1916, allocations: 87.69 kB / 0.8023 GB, free: 12.38 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.0009166/0.1925, allocations: 1.076 MB / 0.8034 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.193, allocations: 272.4 kB / 0.8036 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.193, allocations: 0 / 0.8036 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.1932, allocations: 127.9 kB / 0.8037 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.1937, allocations: 84.36 kB / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.1977, allocations: 3.693 MB / 0.8074 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.198, allocations: 0.8152 MB / 0.8082 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.1981, allocations: 43.25 kB / 0.8083 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.1983, allocations: 147.4 kB / 0.8084 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.1983, allocations: 0 / 0.8084 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.249/2.447, allocations: 6.833 MB / 0.8151 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/2.447, allocations: 212.4 kB / 0.8153 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/4.244, allocations: 0 / 0.8153 GB, free: 15.03 MB / 0.6387 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)