Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 186.7 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007622/0.0007622, allocations: 86.34 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002952, allocations: 9.562 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001443/0.1753, allocations: 1.308 MB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.1757, allocations: 188.3 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1758, allocations: 0 / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.1758, allocations: 11.92 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1759, allocations: 15.86 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1761, allocations: 31.97 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.1762, allocations: 95.7 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1763, allocations: 52.88 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.1764, allocations: 35.86 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.1765, allocations: 43.7 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1766, allocations: 4 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.1766, allocations: 0 / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.1766, allocations: 15.92 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1767, allocations: 65.44 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.213e-05/0.1768, allocations: 91.77 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1768, allocations: 0 / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1768, allocations: 0 / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1768, allocations: 0 / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007015/0.1775, allocations: 467.3 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1775, allocations: 8.031 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.1776, allocations: 12.75 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1777, allocations: 186.5 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1777, allocations: 12.31 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1777, allocations: 8.375 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1779, allocations: 91.47 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1779, allocations: 4.125 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.178, allocations: 11.94 kB / 0.9041 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.178, allocations: 0 / 0.9041 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1781, allocations: 71.97 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.1788, allocations: 420.4 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1789, allocations: 66.55 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.179, allocations: 40.97 kB / 0.9047 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.179, allocations: 7.922 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.179, allocations: 34.5 kB / 0.9047 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.179, allocations: 0 / 0.9047 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003154/0.1794, allocations: 125.6 kB / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.1794, allocations: 55.39 kB / 0.9049 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1795, allocations: 163.6 kB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1795, allocations: 25.7 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.1796, allocations: 108.2 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1796, allocations: 19.8 kB / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.1796, allocations: 0 / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.1797, allocations: 314.8 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.1798, allocations: 35.97 kB / 0.9055 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.1798, allocations: 39.92 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.18, allocations: 56.83 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.18, allocations: 0 / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001869/0.1802, allocations: 105.7 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1802, allocations: 4 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1802, allocations: 0 / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1802, allocations: 0 / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.1803, allocations: 11.98 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1803, allocations: 3.938 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.1805, allocations: 43.88 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1805, allocations: 3.938 kB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.1806, allocations: 116.5 kB / 0.9059 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1806, allocations: 7.906 kB / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.1807, allocations: 20.55 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1807, allocations: 4 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1807, allocations: 7.938 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1807, allocations: 0 / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1808, allocations: 205.5 kB / 0.9061 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1808, allocations: 0 / 0.9061 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.1809, allocations: 11.98 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1809, allocations: 0 / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1809, allocations: 4 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1809, allocations: 0 / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1809, allocations: 11.88 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1811, allocations: 195.3 kB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.1812, allocations: 89.02 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1812, allocations: 0 / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1814, allocations: 31.97 kB / 0.9065 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.1815, allocations: 19.91 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1815, allocations: 4 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.1815, allocations: 115.2 kB / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1816, allocations: 0 / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002107/0.1818, allocations: 16 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.086e-05/0.1819, allocations: 99.25 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1821, allocations: 71.97 kB / 0.9068 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1821, allocations: 3.938 kB / 0.9068 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.1822, allocations: 43.97 kB / 0.9068 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1825, allocations: 8 kB / 0.9068 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.1828, allocations: 268.7 kB / 0.9071 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.183, allocations: 0.6959 MB / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.183, allocations: 15.42 kB / 0.9078 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.183, allocations: 0 / 0.9078 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.00228/0.1853, allocations: 1.276 MB / 0.909 GB, free: 55.17 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)