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.803/1.803, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001397/0.001397, 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.791/1.791, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001321/0.001321, allocations: 98.53 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004279, allocations: 12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.988/1.304, allocations: 138 MB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.305, allocations: 78.27 kB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00428/1.309, allocations: 1.095 MB / 1.115 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/1.309, allocations: 0 / 1.115 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.309, allocations: 0 / 1.115 GB, free: 32.03 MB / 0.698 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.0005867/1.31, allocations: 386.6 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.31, allocations: 7.844 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/1.31, allocations: 7.281 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.31, allocations: 166.9 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/1.31, allocations: 11.02 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/1.31, allocations: 0 / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/1.31, allocations: 69.28 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.31, allocations: 4 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/1.31, allocations: 3.938 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.31, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/1.311, allocations: 49.8 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/1.311, allocations: 298.6 kB / 1.116 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/1.311, allocations: 64.97 kB / 1.116 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/1.311, allocations: 7.984 kB / 1.116 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/1.312, allocations: 83.7 kB / 1.116 GB, free: 31.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/1.312, allocations: 0 / 1.116 GB, free: 31.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004495/1.312, allocations: 144.4 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.312, allocations: 55.28 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/1.312, allocations: 100.2 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.312, allocations: 32.7 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/1.312, allocations: 82.3 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/1.312, allocations: 18.91 kB / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/1.312, allocations: 3.312 kB / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.313, allocations: 317.1 kB / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.313, allocations: 34.11 kB / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/1.313, allocations: 65.62 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/1.313, allocations: 41.44 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.313, allocations: 0 / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002834/1.313, allocations: 133 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.313, allocations: 7.562 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.313, allocations: 0 / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.313, allocations: 128 / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.314, allocations: 29.42 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.314, allocations: 320 / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/1.314, allocations: 12.78 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.314, allocations: 3.844 kB / 1.117 GB, free: 30.32 MB / 0.698 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 0.0001199/1.314, allocations: 122.4 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/1.314, allocations: 3.906 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/1.314, allocations: 132.1 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.314, allocations: 0 / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.314, allocations: 3.781 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.314, allocations: 0 / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/1.315, allocations: 376.3 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.315, allocations: 3.938 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/1.315, allocations: 14.23 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/1.315, allocations: 0 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.315, allocations: 0 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/1.315, allocations: 7.844 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.315, allocations: 0 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/1.315, allocations: 207.8 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/1.315, allocations: 81.11 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/1.315, allocations: 0 / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/1.315, allocations: 17.7 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/1.315, allocations: 6.703 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/1.315, allocations: 6.891 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.025e-05/1.315, allocations: 82.81 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.315, allocations: 3.938 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002438/1.316, allocations: 11.69 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002112/1.316, allocations: 120.7 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002655/1.316, allocations: 82.64 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.316, allocations: 256 / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/1.316, allocations: 40.05 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/1.316, allocations: 10.88 kB / 1.119 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/1.317, allocations: 141.6 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/1.317, allocations: 0.6908 MB / 1.12 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.725e-05/1.317, allocations: 4.125 kB / 1.12 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/1.317, allocations: 18.2 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.317, allocations: 3.938 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of Templates: time 0.003817/1.321, allocations: 0.7079 MB / 1.12 GB, free: 28.5 MB / 0.698 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)