Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 293 MB / 309 MB, free: 4.812 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.001114/0.001114, allocations: 176.6 kB / 378.7 MB, free: 1.023 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.739/1.739, allocations: 205.4 MB / 0.6383 GB, free: 8.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007173/0.0007173, allocations: 95.94 kB / 0.7527 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2827, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7085/0.9913, allocations: 138.8 MB / 1.126 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.9916, allocations: 69.98 kB / 1.126 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002401/0.994, allocations: 0.9539 MB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.284e-06/0.994, allocations: 0 / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.9941, allocations: 4 kB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004082/0.9945, allocations: 370.4 kB / 1.127 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9945, allocations: 12.03 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.9946, allocations: 0.9375 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.9947, allocations: 180.4 kB / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.9947, allocations: 2.359 kB / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.9947, allocations: 12.38 kB / 1.128 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.9949, allocations: 64.62 kB / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.9949, allocations: 192 / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.9949, allocations: 7.938 kB / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9949, allocations: 4.734 kB / 1.128 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.9951, allocations: 54.41 kB / 1.128 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.9956, allocations: 302.4 kB / 1.128 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.9958, allocations: 61.17 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.9959, allocations: 36.42 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.9959, allocations: 0 / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.996, allocations: 30.56 kB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.996, allocations: 0 / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000331/0.9963, allocations: 108.6 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.9963, allocations: 55.41 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.9964, allocations: 117.2 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.9964, allocations: 25.7 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.9965, allocations: 88.14 kB / 1.129 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.9965, allocations: 11.81 kB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.9965, allocations: 1.859 kB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.9966, allocations: 326.2 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.9967, allocations: 23.98 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.9968, allocations: 26.94 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.997, allocations: 59.97 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.997, allocations: 0 / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001821/0.9972, allocations: 84.58 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9972, allocations: 15.31 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.9972, allocations: 0.6562 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.9972, allocations: 0 / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.9973, allocations: 11.28 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9973, allocations: 0 / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.9974, allocations: 27.88 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.9974, allocations: 0 / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.803e-05/0.9975, allocations: 117.4 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.9975, allocations: 8.562 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.9977, allocations: 92.66 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9977, allocations: 2.188 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9978, allocations: 0 / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9978, allocations: 4.969 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.9979, allocations: 176.1 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9979, allocations: 0.625 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.998, allocations: 12.08 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.998, allocations: 0 / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.998, allocations: 0 / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.998, allocations: 4.688 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.998, allocations: 4 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.9982, allocations: 181.8 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.9982, allocations: 86.52 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.9983, allocations: 0 / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.9984, allocations: 23.62 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.9985, allocations: 3.469 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.9985, allocations: 4 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.9985, allocations: 95.58 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9985, allocations: 4 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001949/0.9987, allocations: 8.844 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001097/0.9988, allocations: 100.4 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.999, allocations: 59.02 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9991, allocations: 4 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.9991, allocations: 30.75 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.9994, allocations: 10.44 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.9997, allocations: 132.6 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.9999, allocations: 0.6853 MB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.9999, allocations: 256 / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.9999, allocations: 11.44 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9999, allocations: 0 / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.002447/1.002, allocations: 0.6333 MB / 1.131 GB, free: 29.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)