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.894/1.894, allocations: 285.4 MB / 298 MB, free: 5.996 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.001151/0.001151, allocations: 184.8 kB / 366.4 MB, free: 2.105 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.372/1.372, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008505/0.0008508, allocations: 96.44 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.448e-05, allocations: 8 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7951, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/1.021, allocations: 137.7 MB / 1.105 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.021, allocations: 73.64 kB / 1.105 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002942/1.024, allocations: 0.9443 MB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.024, allocations: 1.094 kB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.024, allocations: 0 / 1.106 GB, free: 13.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005816/1.025, allocations: 370.6 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.025, allocations: 8.031 kB / 1.107 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/1.025, allocations: 7.906 kB / 1.107 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.025, allocations: 172.4 kB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/1.025, allocations: 4.594 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/1.025, allocations: 6.719 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/1.026, allocations: 45.69 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.026, allocations: 4 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.026, allocations: 0 / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.026, allocations: 3.938 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/1.026, allocations: 20 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/1.026, allocations: 304 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/1.027, allocations: 43.27 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/1.027, allocations: 17.48 kB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.027, allocations: 1 kB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/1.027, allocations: 32.31 kB / 1.107 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/1.027, allocations: 0 / 1.107 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001834/1.027, allocations: 49.06 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.027, allocations: 53.38 kB / 1.107 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/1.027, allocations: 113.7 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/1.027, allocations: 29.7 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/1.027, allocations: 96.08 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/1.027, allocations: 7.969 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.027, allocations: 0 / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.027, allocations: 322.8 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/1.027, allocations: 8 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/1.027, allocations: 12 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/1.027, allocations: 8.781 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.027, allocations: 0 / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.766e-05/1.027, allocations: 53.69 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.027, allocations: 9.406 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.028, allocations: 0 / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.028, allocations: 0 / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/1.028, allocations: 15.98 kB / 1.108 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.028, allocations: 2.188 kB / 1.108 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.028, allocations: 27.83 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.028, allocations: 3.953 kB / 1.108 GB, free: 11.12 MB / 0.7136 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 () * 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 9.935e-05/1.028, allocations: 115.6 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/1.028, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.028, allocations: 54.33 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1.028, allocations: 4 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.028, allocations: 0 / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.028, allocations: 3.938 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.028, allocations: 177.5 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.028, allocations: 4 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/1.028, allocations: 11.98 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.028, allocations: 2.297 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.028, allocations: 0 / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.028, allocations: 3.938 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.028, allocations: 4 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/1.029, allocations: 149.7 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/1.029, allocations: 85.11 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.029, allocations: 0 / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.029, allocations: 19.97 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/1.029, allocations: 7.984 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/1.029, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.893e-05/1.029, allocations: 89.06 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.029, allocations: 0 / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002202/1.029, allocations: 16 kB / 1.109 GB, free: 10.29 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0001413/1.029, allocations: 95.25 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000106/1.03, allocations: 31.92 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.03, allocations: 0 / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/1.03, allocations: 12 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.03, allocations: 9.5 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/1.03, allocations: 81.52 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/1.03, allocations: 0.6848 MB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.107e-05/1.03, allocations: 4 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/1.03, allocations: 7.438 kB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/1.03, allocations: 0 / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.002757/1.033, allocations: 0.6521 MB / 1.11 GB, free: 8.707 MB / 0.7136 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)