Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.749/2.749, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.00135/0.001351, allocations: 181.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.002798/0.002798, allocations: 92.61 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004772, allocations: 14.03 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002011/0.2084, allocations: 1.45 MB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2098, allocations: 0.7305 MB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.21, allocations: 8 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2101, allocations: 15.8 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.2102, allocations: 23.78 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2115, allocations: 344.9 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.2119, allocations: 359.2 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2121, allocations: 52.2 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.2122, allocations: 131.7 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2124, allocations: 127.5 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.2125, allocations: 24 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.2127, allocations: 31.98 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.2127, allocations: 43.81 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.2129, allocations: 81.62 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.2132, allocations: 267.6 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2132, allocations: 3.938 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2132, allocations: 0 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2132, allocations: 0 / 0.982 GB, free: 24.6 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.0007987/0.214, allocations: 0.5613 MB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2141, allocations: 16.02 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.2141, allocations: 54.53 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2143, allocations: 39.72 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2154, allocations: 313.4 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.2155, allocations: 20.33 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.2156, allocations: 35.98 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.216, allocations: 172.2 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.216, allocations: 4 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2161, allocations: 7.984 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.2161, allocations: 4 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.2164, allocations: 116.1 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2176, allocations: 0.6014 MB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.218, allocations: 190.5 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2182, allocations: 80.83 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2182, allocations: 11.92 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.2187, allocations: 259 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/0.2188, allocations: 4 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.0009758/0.2197, allocations: 409 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2198, allocations: 59.41 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.22, allocations: 190.9 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.2201, allocations: 49.7 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2202, allocations: 132.8 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.2203, allocations: 82.89 kB / 0.9853 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.2203, allocations: 16 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.2204, allocations: 342.8 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.2209, allocations: 145 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.2214, allocations: 275.2 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.2218, allocations: 248.9 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.2218, allocations: 0 / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001261/0.2231, allocations: 0.5684 MB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.2232, allocations: 97.09 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2232, allocations: 4 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2232, allocations: 8.328 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2235, allocations: 47.86 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.2235, allocations: 11.94 kB / 0.987 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/0.2245, allocations: 127.6 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.2245, allocations: 31.98 kB / 0.9872 GB, free: 18.98 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.0002338/0.2248, allocations: 171 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.2248, allocations: 23.72 kB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.2249, allocations: 30.64 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.225, allocations: 11.89 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.225, allocations: 0 / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.225, allocations: 0 / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2261, allocations: 0.7061 MB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2261, allocations: 3.938 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2263, allocations: 15.98 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2263, allocations: 3.953 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.2263, allocations: 15.98 kB / 0.9881 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2263, allocations: 3.938 kB / 0.9881 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2263, allocations: 0 / 0.9881 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.227, allocations: 430.8 kB / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.2271, allocations: 100.8 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.2271, allocations: 15.94 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2273, allocations: 11.98 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2274, allocations: 24.05 kB / 0.9887 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.2275, allocations: 20.08 kB / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.653e-05/0.2276, allocations: 125.2 kB / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2276, allocations: 0 / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005402/0.2281, allocations: 91.98 kB / 0.9889 GB, free: 17.1 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.0009036/0.2291, allocations: 0.98 MB / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009955/0.2301, allocations: 0.5374 MB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2301, allocations: 4.062 kB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.2304, allocations: 135.9 kB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.2309, allocations: 46.33 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.2341, allocations: 1.558 MB / 0.9921 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.2344, allocations: 0.7448 MB / 0.9928 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000172/0.2345, allocations: 34.97 kB / 0.9929 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2347, allocations: 75.41 kB / 0.9929 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.883e-06/0.2347, allocations: 0 / 0.9929 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2621, allocations: 5.512 MB / 0.9983 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.2623, allocations: 201 kB / 0.9985 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/2.865, allocations: 0 / 0.9985 GB, free: 7.246 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)