Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 288.4 MB / 304.3 MB, free: 7.977 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.001036/0.001036, allocations: 172.5 kB / 372.9 MB, free: 10.15 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.605/1.605, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0007383/0.0007383, allocations: 88.25 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000576/0.000576, allocations: 17.45 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.231, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6681/0.8991, allocations: 137.8 MB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.8994, allocations: 71.98 kB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00325/0.9027, allocations: 0.954 MB / 1.116 GB, free: 32.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9027, allocations: 0 / 1.116 GB, free: 32.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9027, allocations: 0 / 1.116 GB, free: 32.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005365/0.9033, allocations: 373.5 kB / 1.117 GB, free: 31.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.9033, allocations: 11.66 kB / 1.117 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.9034, allocations: 0.9375 kB / 1.117 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.9035, allocations: 175.2 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.9035, allocations: 7.812 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.9036, allocations: 4.25 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.9038, allocations: 65.41 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9038, allocations: 4.125 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.9038, allocations: 3.938 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9038, allocations: 0 / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.904, allocations: 60.95 kB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.9045, allocations: 304.1 kB / 1.117 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.9048, allocations: 60.05 kB / 1.117 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.9049, allocations: 30.48 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.9049, allocations: 3.25 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.905, allocations: 36.89 kB / 1.117 GB, free: 31.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.905, allocations: 3.984 kB / 1.117 GB, free: 31.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003504/0.9053, allocations: 107.4 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.9054, allocations: 55.34 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.9055, allocations: 110.6 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.9055, allocations: 25.7 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.9055, allocations: 90.34 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.9056, allocations: 10.31 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.9056, allocations: 6.516 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9057, allocations: 320.8 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.9058, allocations: 27.31 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.9059, allocations: 24.3 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.906, allocations: 55.11 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.906, allocations: 2.438 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001956/0.9062, allocations: 94.17 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.9063, allocations: 7.906 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9063, allocations: 0 / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9063, allocations: 3.906 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.9064, allocations: 10.88 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.9064, allocations: 4 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.9065, allocations: 29 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9065, allocations: 0 / 1.118 GB, free: 30.34 MB / 0.698 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 8.752e-05/0.9066, allocations: 113.7 kB / 1.118 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.9066, allocations: 10.48 kB / 1.118 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.9069, allocations: 95.31 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9069, allocations: 0 / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.9069, allocations: 0 / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9069, allocations: 0 / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.9071, allocations: 170.8 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.9071, allocations: 0 / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.9071, allocations: 14.23 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.9071, allocations: 1.859 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9072, allocations: 7.938 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9072, allocations: 0 / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9072, allocations: 0 / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.9074, allocations: 181.2 kB / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.9075, allocations: 83.88 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.9075, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.9076, allocations: 21.66 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.9077, allocations: 10.8 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.9077, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.9078, allocations: 96.98 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9078, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002069/0.908, allocations: 3.875 kB / 1.119 GB, free: 29.66 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: 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.0001287/0.9081, allocations: 105.3 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.9084, allocations: 61.89 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9084, allocations: 0 / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.9085, allocations: 29.41 kB / 1.119 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.0002825/0.9088, allocations: 16.59 kB / 1.119 GB, free: 29.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.9091, allocations: 137.2 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.9093, allocations: 0.68 MB / 1.12 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.9094, allocations: 5.641 kB / 1.12 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.9094, allocations: 7.438 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9094, allocations: 0 / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of Templates: time 0.002474/0.9119, allocations: 0.6406 MB / 1.121 GB, free: 28.67 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)