Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.816/2.816, allocations: 284.8 MB / 297.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 184.6 kB / 365.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 98.27 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.482e-05, allocations: 4 kB / 0.8574 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8088, allocations: 115.2 MB / 0.97 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/1.049, allocations: 137.7 MB / 1.104 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.049, allocations: 70.86 kB / 1.105 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004853/1.054, allocations: 1.11 MB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.342e-06/1.054, allocations: 3.828 kB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.054, allocations: 0 / 1.106 GB, free: 13.52 MB / 0.7136 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.0005933/1.055, allocations: 367.2 kB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.055, allocations: 12.03 kB / 1.106 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/1.055, allocations: 1.828 kB / 1.106 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.055, allocations: 167 kB / 1.106 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/1.055, allocations: 4.906 kB / 1.106 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.055, allocations: 4 kB / 1.106 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/1.055, allocations: 54.64 kB / 1.106 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.055, allocations: 3.938 kB / 1.106 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.055, allocations: 5.656 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/1.055, allocations: 0 / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/1.056, allocations: 20 kB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/1.056, allocations: 303.4 kB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.056, allocations: 41.08 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/1.056, allocations: 24.92 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/1.057, allocations: 9.484 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/1.057, allocations: 60.42 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/1.057, allocations: 0 / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002561/1.057, allocations: 70.88 kB / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.057, allocations: 55.36 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/1.057, allocations: 103.6 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.057, allocations: 25.7 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/1.057, allocations: 93.7 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/1.057, allocations: 23.81 kB / 1.107 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/1.057, allocations: 0 / 1.107 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.057, allocations: 322.8 kB / 1.107 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/1.058, allocations: 13.25 kB / 1.107 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/1.058, allocations: 50.58 kB / 1.107 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/1.058, allocations: 20.33 kB / 1.107 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.058, allocations: 0 / 1.107 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002243/1.058, allocations: 97.45 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.058, allocations: 4 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.058, allocations: 2.953 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.058, allocations: 4 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/1.058, allocations: 18.36 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.058, allocations: 7.938 kB / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.058, allocations: 19.94 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/1.058, allocations: 4 kB / 1.108 GB, free: 11.35 MB / 0.7136 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 () * 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 8.844e-05/1.059, allocations: 106.6 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/1.059, allocations: 12.11 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/1.059, allocations: 82.2 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.059, allocations: 5.969 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.059, allocations: 0 / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.059, allocations: 3.938 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/1.059, allocations: 339.8 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.059, allocations: 0 / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.059, allocations: 11.98 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.059, allocations: 8 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.059, allocations: 0 / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.06, allocations: 0 / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.06, allocations: 3.953 kB / 1.108 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/1.06, allocations: 171.5 kB / 1.108 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/1.06, allocations: 84.95 kB / 1.108 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/1.06, allocations: 8 kB / 1.108 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.06, allocations: 15.98 kB / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/1.06, allocations: 3.984 kB / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/1.06, allocations: 7.953 kB / 1.108 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.481e-05/1.06, allocations: 83.28 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.315e-06/1.06, allocations: 0 / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003316/1.061, allocations: 19.94 kB / 1.108 GB, free: 10.3 MB / 0.7136 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) * 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.0002016/1.061, allocations: 115.2 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000178/1.061, allocations: 43.94 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.061, allocations: 3.75 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/1.061, allocations: 27.94 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/1.061, allocations: 7.984 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/1.062, allocations: 86.52 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.062, allocations: 0.689 MB / 1.109 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.286e-05/1.062, allocations: 8.188 kB / 1.109 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/1.062, allocations: 7.438 kB / 1.109 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/1.062, allocations: 0 / 1.109 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of Templates: time 0.004041/1.066, allocations: 0.7094 MB / 1.11 GB, free: 8.59 MB / 0.7136 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)