Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.735/1.735, allocations: 287.4 MB / 303.2 MB, free: 8.328 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.001173/0.001173, allocations: 186.9 kB / 371.8 MB, free: 10.84 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.705/1.705, allocations: 205.4 MB / 0.6305 GB, free: 10.46 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.0009123/0.0009122, allocations: 91.78 kB / 0.7438 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 12.38 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2384, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.0008751/0.2393, allocations: 389.8 kB / 0.9797 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2406, allocations: 1.047 MB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.2407, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.2407, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.2408, allocations: 3.938 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.2411, allocations: 35.95 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.2412, allocations: 43.84 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2413, allocations: 12 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.2414, allocations: 19.91 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.2414, allocations: 19.92 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2415, allocations: 0 / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.2415, allocations: 15.98 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.2416, allocations: 15.92 kB / 0.9808 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.2416, allocations: 29.7 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.809e-05/0.2417, allocations: 39.91 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2417, allocations: 0 / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2417, allocations: 4 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2417, allocations: 0 / 0.9809 GB, free: 26.5 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.0005279/0.2423, allocations: 359.6 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2423, allocations: 15.97 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2424, allocations: 4.844 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.2425, allocations: 172.3 kB / 0.9814 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2425, allocations: 8.312 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2425, allocations: 8.359 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2427, allocations: 70.22 kB / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2427, allocations: 192 / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2428, allocations: 7.875 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2428, allocations: 0 / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.243, allocations: 63.94 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.2434, allocations: 276.8 kB / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2436, allocations: 70.42 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.2437, allocations: 40.95 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2437, allocations: 4 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.2439, allocations: 79.38 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2439, allocations: 0 / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000394/0.2443, allocations: 141.6 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2443, allocations: 55.39 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.2444, allocations: 105.8 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2444, allocations: 29.7 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.2445, allocations: 88.05 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.2445, allocations: 15.75 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.2445, allocations: 4 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.2446, allocations: 322.8 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.2447, allocations: 27.98 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2448, allocations: 64.27 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.245, allocations: 104.2 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.245, allocations: 7.938 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000261/0.2452, allocations: 117.6 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2453, allocations: 8 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2453, allocations: 4 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2453, allocations: 0 / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.2454, allocations: 27.92 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2454, allocations: 0 / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.2455, allocations: 15.89 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2455, allocations: 4 kB / 0.9831 GB, free: 23.97 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 6.598e-05/0.2456, allocations: 124 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.2456, allocations: 7.984 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.2459, allocations: 117.9 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.246, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.246, allocations: 4.25 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.246, allocations: 85.02 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.246, allocations: 8 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.2461, allocations: 15.92 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2461, allocations: 11.92 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002757/0.2464, allocations: 200.9 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002605/0.2467, allocations: 282.8 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000101/0.2468, allocations: 35.95 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.2468, allocations: 83.28 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Backend: time 4.51e-07/0.2469, allocations: 4 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.2473, allocations: 132.7 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004124/0.2477, allocations: 0.5877 MB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.003083/0.2508, allocations: 0.7987 MB / 0.9856 GB, free: 21.39 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe 2>&1)