Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.942/1.942, allocations: 288.2 MB / 303.2 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 185 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007685, allocations: 86.94 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 11.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001608/0.1893, allocations: 1.439 MB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1904, allocations: 0.6836 MB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1906, allocations: 0 / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.1907, allocations: 15.86 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1908, allocations: 39.86 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.1917, allocations: 341.3 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.192, allocations: 235.6 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1922, allocations: 56.06 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1923, allocations: 147.6 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1925, allocations: 119.6 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.1926, allocations: 20 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.821e-05/0.1927, allocations: 35.92 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.1927, allocations: 39.89 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.1928, allocations: 81.58 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.193, allocations: 271.5 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.193, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1931, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.1931, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 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.0006992/0.1938, allocations: 0.5574 MB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1938, allocations: 16.02 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.1939, allocations: 50.53 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.194, allocations: 39.66 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.1948, allocations: 307.7 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1948, allocations: 24.33 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.1949, allocations: 39.98 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1952, allocations: 176.2 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1952, allocations: 3.938 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1952, allocations: 11.98 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1952, allocations: 4 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1954, allocations: 108.2 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.1963, allocations: 0.6014 MB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1965, allocations: 198.5 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.1966, allocations: 8 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.1969, allocations: 250.8 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.1969, allocations: 0 / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.000603/0.1975, allocations: 402.2 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1976, allocations: 79.33 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1977, allocations: 198.9 kB / 0.9859 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.1978, allocations: 41.7 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.1979, allocations: 132.8 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1979, allocations: 86.89 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.198, allocations: 16 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.198, allocations: 338.8 kB / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.1983, allocations: 141 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1986, allocations: 271.3 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1988, allocations: 233 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1988, allocations: 0 / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007271/0.1996, allocations: 0.5839 MB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.1996, allocations: 97.19 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1996, allocations: 7.938 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1997, allocations: 4 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1998, allocations: 43.91 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1998, allocations: 12.31 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.2004, allocations: 135.5 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.2004, allocations: 31.98 kB / 0.988 GB, free: 18.57 MB / 0.6198 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 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.2006, allocations: 179.7 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.2006, allocations: 27.72 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.2007, allocations: 26.64 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2007, allocations: 4 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2007, allocations: 0 / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2007, allocations: 0 / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.2014, allocations: 0.7049 MB / 0.9889 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2014, allocations: 4 kB / 0.9889 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.2014, allocations: 15.98 kB / 0.9889 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2014, allocations: 0 / 0.9889 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.2015, allocations: 11.98 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2015, allocations: 0 / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2015, allocations: 3.953 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.2019, allocations: 427.4 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.2019, allocations: 100.8 kB / 0.9894 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.202, allocations: 15.98 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.2021, allocations: 11.98 kB / 0.9894 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.2021, allocations: 31.84 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2022, allocations: 16 kB / 0.9895 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.2022, allocations: 125.2 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2022, allocations: 0 / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003679/0.2026, allocations: 88 kB / 0.9897 GB, free: 16.71 MB / 0.6198 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 (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.0005975/0.2032, allocations: 0.9836 MB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.2038, allocations: 0.5295 MB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2038, allocations: 0.75 kB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.204, allocations: 143.8 kB / 0.9913 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2042, allocations: 44.03 kB / 0.9913 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2055, allocations: 3.053 MB / 0.9943 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.2057, allocations: 0.7526 MB / 0.9951 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000108/0.2058, allocations: 34.95 kB / 0.9951 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.2059, allocations: 71.42 kB / 0.9952 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2059, allocations: 4 kB / 0.9952 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.2216, allocations: 5.427 MB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.2219, allocations: 211.9 kB / 1.001 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.086, allocations: 0 / 1.001 GB, free: 5.41 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)