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.697/1.697, allocations: 288.4 MB / 304.3 MB, free: 8.164 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.0009333/0.0009334, allocations: 176.5 kB / 373 MB, free: 10.17 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.607/1.607, allocations: 205.4 MB / 0.6317 GB, free: 9.801 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.0007961/0.0007958, allocations: 98.33 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005037, allocations: 12.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2574, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7616/1.019, allocations: 138 MB / 1.115 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/1.019, allocations: 70.94 kB / 1.116 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003598/1.023, allocations: 1.107 MB / 1.117 GB, free: 32.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.023, allocations: 0 / 1.117 GB, free: 32.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.023, allocations: 0 / 1.117 GB, free: 32.26 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.000464/1.023, allocations: 385.3 kB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.024, allocations: 7.625 kB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/1.024, allocations: 4.812 kB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/1.024, allocations: 171.3 kB / 1.117 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/1.024, allocations: 1.562 kB / 1.117 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/1.024, allocations: 8.156 kB / 1.117 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/1.024, allocations: 76.3 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.024, allocations: 192 / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.024, allocations: 3.938 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/1.024, allocations: 3.938 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/1.024, allocations: 54.38 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/1.025, allocations: 292.2 kB / 1.118 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/1.025, allocations: 63.88 kB / 1.118 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/1.025, allocations: 40.58 kB / 1.118 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/1.025, allocations: 3.875 kB / 1.118 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/1.025, allocations: 81.5 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/1.025, allocations: 7.812 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003999/1.026, allocations: 136 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.026, allocations: 58.53 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/1.026, allocations: 109.1 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/1.026, allocations: 25.7 kB / 1.118 GB, free: 31.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/1.026, allocations: 90.62 kB / 1.118 GB, free: 30.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/1.026, allocations: 17.97 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/1.026, allocations: 5.578 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.026, allocations: 320.9 kB / 1.119 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.777e-05/1.026, allocations: 31.95 kB / 1.119 GB, free: 30.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/1.026, allocations: 61.95 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/1.026, allocations: 106.6 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.026, allocations: 0 / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002556/1.027, allocations: 125 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.027, allocations: 11.7 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.027, allocations: 0 / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.027, allocations: 256 / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.027, allocations: 22.27 kB / 1.119 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.027, allocations: 10.28 kB / 1.119 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/1.027, allocations: 12.78 kB / 1.119 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.027, allocations: 3.906 kB / 1.119 GB, free: 30.49 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.0001004/1.027, allocations: 123.8 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/1.027, allocations: 4.453 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/1.027, allocations: 125.9 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.027, allocations: 3.812 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.027, allocations: 240 / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.027, allocations: 3.984 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/1.028, allocations: 382.7 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.028, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/1.028, allocations: 14.34 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.028, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/1.028, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.028, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.028, allocations: 4 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/1.028, allocations: 213.2 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/1.028, allocations: 83.83 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/1.028, allocations: 4 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/1.028, allocations: 10.36 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/1.028, allocations: 6.828 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.028, allocations: 7.188 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.873e-05/1.028, allocations: 82.12 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 0 / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002375/1.029, allocations: 19.09 kB / 1.12 GB, free: 29.68 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.0001605/1.029, allocations: 113.2 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002332/1.029, allocations: 79.31 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.029, allocations: 3.812 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.029, allocations: 42.03 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.029, allocations: 14.05 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/1.03, allocations: 147.4 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.03, allocations: 0.6902 MB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.281e-05/1.03, allocations: 3.812 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/1.03, allocations: 7.438 kB / 1.121 GB, free: 28.74 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/1.03, allocations: 0 / 1.121 GB, free: 28.74 MB / 0.698 GB Notification: Performance of Templates: time 0.002645/1.033, allocations: 0.7221 MB / 1.122 GB, free: 28.67 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)