Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 194.3 kB / 16.53 MB, free: 6.672 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.202/1.202, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.518/1.518, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001283/0.001283, allocations: 67.41 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1769, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002625/0.1795, allocations: 1.781 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1806, allocations: 0.7702 MB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.1807, allocations: 4 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.1809, allocations: 19.73 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.1809, allocations: 35.64 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.1817, allocations: 386.1 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.1821, allocations: 447.1 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1822, allocations: 66.14 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1824, allocations: 175.6 kB / 0.7871 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1825, allocations: 147.4 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.1826, allocations: 36 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.1827, allocations: 48 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1827, allocations: 55.88 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1829, allocations: 171.4 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1832, allocations: 383.1 kB / 0.7879 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1832, allocations: 0 / 0.7879 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1832, allocations: 0 / 0.7879 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1833, allocations: 4 kB / 0.7879 GB, free: 8.887 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006771/0.1839, allocations: 0.6186 MB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.184, allocations: 12.03 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.184, allocations: 50.72 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.1841, allocations: 36.66 kB / 0.7886 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.1848, allocations: 305 kB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.1849, allocations: 28.69 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.1849, allocations: 40.36 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1852, allocations: 176.4 kB / 0.7891 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1852, allocations: 0 / 0.7891 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1852, allocations: 11.98 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1852, allocations: 4 kB / 0.7891 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1854, allocations: 107.9 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.1862, allocations: 0.5975 MB / 0.7898 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1865, allocations: 214.4 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1866, allocations: 80.83 kB / 0.7901 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1866, allocations: 4 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.187, allocations: 251.4 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.187, allocations: 0 / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0006136/0.1876, allocations: 426.8 kB / 0.7907 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1876, allocations: 63.39 kB / 0.7908 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1878, allocations: 183 kB / 0.791 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.1878, allocations: 53.69 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.1879, allocations: 128.8 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.188, allocations: 90.89 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1882, allocations: 134.1 kB / 0.7914 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.1883, allocations: 334.8 kB / 0.7917 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1885, allocations: 153 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.1888, allocations: 267.2 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1893, allocations: 415.1 kB / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.1893, allocations: 11.94 kB / 0.7925 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000802/0.1901, allocations: 0.585 MB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.1902, allocations: 95.75 kB / 0.7931 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.1902, allocations: 4 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1902, allocations: 8 kB / 0.7932 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1903, allocations: 47.84 kB / 0.7932 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1904, allocations: 7.938 kB / 0.7932 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.1908, allocations: 104 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.1909, allocations: 35.98 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001528/0.1911, allocations: 175 kB / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1911, allocations: 31.7 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.1911, allocations: 26.64 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1911, allocations: 4 kB / 0.7936 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1912, allocations: 3.938 kB / 0.7936 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1912, allocations: 0 / 0.7936 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1919, allocations: 0.701 MB / 0.7943 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1919, allocations: 8 kB / 0.7943 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.192, allocations: 15.98 kB / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.192, allocations: 0 / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.192, allocations: 11.98 kB / 0.7943 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.192, allocations: 4 kB / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.192, allocations: 0 / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.1924, allocations: 427.3 kB / 0.7947 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.1925, allocations: 100.9 kB / 0.7948 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.1926, allocations: 23.92 kB / 0.7948 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.1927, allocations: 7.984 kB / 0.7948 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.1927, allocations: 23.97 kB / 0.7948 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1927, allocations: 19.98 kB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.1928, allocations: 130.3 kB / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1928, allocations: 0 / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003406/0.1932, allocations: 92 kB / 0.7951 GB, free: 1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.000695/0.1939, allocations: 0.9837 MB / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006793/0.1946, allocations: 0.5565 MB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1946, allocations: 4.75 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1948, allocations: 135.9 kB / 0.7967 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1951, allocations: 51.89 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1982, allocations: 3.069 MB / 0.7998 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1985, allocations: 0.7486 MB / 0.8005 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.472e-05/0.1986, allocations: 38.95 kB / 0.8005 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.1987, allocations: 71.36 kB / 0.8006 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.1987, allocations: 3.938 kB / 0.8006 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.218, allocations: 5.89 MB / 0.8064 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.862, allocations: 3.672 kB / 0.8064 GB, free: 5.289 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)