Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.4 MB / 304.3 MB, free: 7.973 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.001491/0.001491, allocations: 190.7 kB / 372.9 MB, free: 10.14 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.716/1.716, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.0007917/0.0007916, allocations: 98.23 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.0008322/0.2115, allocations: 390 kB / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2125, allocations: 1.048 MB / 0.9821 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.2126, allocations: 0 / 0.9821 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.2126, allocations: 0 / 0.9821 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.2127, allocations: 7.875 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2129, allocations: 39.89 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.213, allocations: 43.84 kB / 0.9822 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.2131, allocations: 12 kB / 0.9822 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/0.2131, allocations: 15.97 kB / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.2132, allocations: 15.92 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2132, allocations: 4 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2133, allocations: 19.92 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2133, allocations: 11.98 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.2133, allocations: 37.64 kB / 0.9823 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2135, allocations: 39.91 kB / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2135, allocations: 4 kB / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2135, allocations: 0 / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2135, allocations: 4 kB / 0.9824 GB, free: 25.61 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004961/0.214, allocations: 367.6 kB / 0.9827 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2141, allocations: 8.031 kB / 0.9828 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.2141, allocations: 8.844 kB / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.2142, allocations: 164.3 kB / 0.9829 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2142, allocations: 8.375 kB / 0.9829 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.2142, allocations: 4.375 kB / 0.9829 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2144, allocations: 70.22 kB / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2144, allocations: 192 / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2145, allocations: 3.938 kB / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2145, allocations: 7.938 kB / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.2146, allocations: 55.89 kB / 0.9831 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.215, allocations: 288.8 kB / 0.9833 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2151, allocations: 66.48 kB / 0.9834 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.2152, allocations: 36.97 kB / 0.9834 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2153, allocations: 3.984 kB / 0.9834 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.2155, allocations: 83.33 kB / 0.9835 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2155, allocations: 0 / 0.9835 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003498/0.2158, allocations: 141.7 kB / 0.9837 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2159, allocations: 59.39 kB / 0.9837 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.796e-05/0.2159, allocations: 97.86 kB / 0.9838 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2159, allocations: 29.7 kB / 0.9838 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.216, allocations: 92.03 kB / 0.9839 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.216, allocations: 15.75 kB / 0.9839 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.216, allocations: 4 kB / 0.9839 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.2161, allocations: 318.8 kB / 0.9842 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.2162, allocations: 31.98 kB / 0.9843 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2163, allocations: 68.14 kB / 0.9843 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2165, allocations: 108.2 kB / 0.9844 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2165, allocations: 3.938 kB / 0.9844 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.2167, allocations: 121.5 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2168, allocations: 8 kB / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2168, allocations: 4.125 kB / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2168, allocations: 0 / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2169, allocations: 19.98 kB / 0.9846 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2169, allocations: 4 kB / 0.9846 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.217, allocations: 19.89 kB / 0.9846 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.217, allocations: 0 / 0.9846 GB, free: 23.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.zerOrdHol.firstTrigger,zerOrdHol.firstTrigger,$whenCondition1,zerOrdHol.sampleTrigger,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.707e-05/0.2171, allocations: 129.7 kB / 0.9847 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.2171, allocations: 0 / 0.9847 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.2174, allocations: 114 kB / 0.9848 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2174, allocations: 0 / 0.9848 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2174, allocations: 3.984 kB / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.2175, allocations: 81.02 kB / 0.9849 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2175, allocations: 8 kB / 0.9849 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.2176, allocations: 12.23 kB / 0.9849 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.2176, allocations: 11.88 kB / 0.985 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002782/0.2179, allocations: 204.8 kB / 0.9852 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002453/0.2182, allocations: 278.8 kB / 0.9854 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.706e-05/0.2183, allocations: 40.52 kB / 0.9855 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.2183, allocations: 83.28 kB / 0.9855 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Backend: time 4.41e-07/0.2183, allocations: 0 / 0.9855 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.2187, allocations: 142.3 kB / 0.9857 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004008/0.2192, allocations: 0.5838 MB / 0.9862 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.002806/0.222, allocations: 0.8094 MB / 0.987 GB, free: 20.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe 2>&1)