Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.5 MB / 267.4 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.6 kB / 326.5 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205 MB / 0.5767 GB, free: 20.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 84.72 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 8.844 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2081, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.001237/0.2094, allocations: 1.112 MB / 0.8978 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003825/0.2098, allocations: 241.8 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.2098, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.2099, allocations: 3.938 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.2099, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2101, allocations: 27.92 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.2102, allocations: 47.84 kB / 0.8981 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2103, allocations: 11.98 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.2103, allocations: 11.98 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.2104, allocations: 23.86 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2104, allocations: 0 / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.2104, allocations: 4 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2104, allocations: 4 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.2105, allocations: 19.86 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.704e-05/0.2105, allocations: 48.06 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2105, allocations: 4 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 6.32e-07/0.2105, allocations: 3.938 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.2106, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 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.0003994/0.211, allocations: 359.3 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.211, allocations: 8.031 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.211, allocations: 8.938 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.846e-05/0.2111, allocations: 164.3 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2111, allocations: 8.375 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2111, allocations: 4.375 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.2113, allocations: 74.14 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2113, allocations: 4.188 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.2113, allocations: 3.938 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.2113, allocations: 4 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.2115, allocations: 59.88 kB / 0.8989 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.2118, allocations: 284.8 kB / 0.8992 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.212, allocations: 62.48 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.2121, allocations: 32.97 kB / 0.8993 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2121, allocations: 7.984 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.2123, allocations: 79.33 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2123, allocations: 0 / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003547/0.2126, allocations: 149.6 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.2127, allocations: 59.33 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.2127, allocations: 101.9 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.2127, allocations: 25.7 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.2128, allocations: 92.12 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.2128, allocations: 19.75 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.2128, allocations: 13.72 kB / 0.8998 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.2129, allocations: 322.8 kB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.213, allocations: 23.98 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.2131, allocations: 72.2 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.2132, allocations: 104.2 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2133, allocations: 3.938 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002204/0.2135, allocations: 125.5 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2135, allocations: 10.66 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2135, allocations: 0 / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2135, allocations: 4 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.2136, allocations: 16.23 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2136, allocations: 4 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.2137, allocations: 19.98 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2137, allocations: 8 kB / 0.9005 GB, free: 64.02 MB / 0.6042 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 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.2138, allocations: 121.7 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.2138, allocations: 3.906 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.214, allocations: 114 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2141, allocations: 4 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2141, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.2141, allocations: 85.22 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.2141, allocations: 4 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2142, allocations: 19.92 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2142, allocations: 3.938 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002509/0.2145, allocations: 208.8 kB / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002303/0.2147, allocations: 282.7 kB / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.093e-05/0.2148, allocations: 27.98 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.2149, allocations: 87.27 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Backend: time 3.5e-07/0.2149, allocations: 0 / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003669/0.2152, allocations: 132.2 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003325/0.2156, allocations: 0.5907 MB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.002342/0.2179, allocations: 0.695 MB / 0.9028 GB, free: 61.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe 2>&1)