Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.225/2.225, allocations: 251.3 MB / 266.2 MB, free: 11.47 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001385, allocations: 190.1 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.497/2.497, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 88.48 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004748, allocations: 12.19 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 106.3 MB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001847/0.2182, allocations: 1.219 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.2191, allocations: 479.9 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.2192, allocations: 0 / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.108e-05/0.2193, allocations: 3.938 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.2194, allocations: 15.86 kB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.2196, allocations: 23.97 kB / 0.9007 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2197, allocations: 71.77 kB / 0.9008 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2199, allocations: 12.19 kB / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.22, allocations: 39.83 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.2201, allocations: 27.91 kB / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2201, allocations: 0 / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.853e-05/0.2202, allocations: 8 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.2202, allocations: 15.92 kB / 0.9009 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.2203, allocations: 37.64 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2204, allocations: 47.89 kB / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2204, allocations: 7.938 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2204, allocations: 0 / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2204, allocations: 0 / 0.901 GB, free: 63.39 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007702/0.2212, allocations: 446.8 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2213, allocations: 8.031 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.2213, allocations: 4.938 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.2215, allocations: 182.3 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2216, allocations: 4.375 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2216, allocations: 4.375 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.222, allocations: 113.7 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.222, allocations: 3.938 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.2221, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2221, allocations: 4 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.2226, allocations: 87.92 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.2233, allocations: 344.5 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.2238, allocations: 98.52 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2241, allocations: 64.94 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2241, allocations: 4 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.2246, allocations: 107.3 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.2246, allocations: 0 / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0009684/0.2256, allocations: 235.2 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2256, allocations: 77.11 kB / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2258, allocations: 135.7 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2258, allocations: 29.7 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.2259, allocations: 96.03 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.2259, allocations: 23.73 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.2259, allocations: 0 / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.226, allocations: 326.8 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.2263, allocations: 59.95 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.2265, allocations: 51.97 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2268, allocations: 107.3 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2269, allocations: 0 / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006964/0.2276, allocations: 228.9 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.2276, allocations: 63.67 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2276, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2277, allocations: 3.938 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2279, allocations: 23.92 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2279, allocations: 0 / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.2281, allocations: 27.98 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2282, allocations: 8.234 kB / 0.9038 GB, free: 60.2 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001164/0.2283, allocations: 143.5 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.2283, allocations: 11.89 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.2284, allocations: 12.72 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2284, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2284, allocations: 3.984 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2284, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.2292, allocations: 460 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2292, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2294, allocations: 23.98 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2294, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2294, allocations: 4 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2294, allocations: 3.938 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2295, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.2301, allocations: 281.1 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.2302, allocations: 85.05 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.2302, allocations: 7.938 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.2305, allocations: 27.91 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.2306, allocations: 19.97 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.2306, allocations: 8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.2307, allocations: 101.9 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2307, allocations: 0 / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003068/0.231, allocations: 23.91 kB / 0.905 GB, free: 58.89 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001431/0.2312, allocations: 103.2 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.2319, allocations: 230.7 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2319, allocations: 3.938 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.2322, allocations: 123.4 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.2326, allocations: 11.92 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.2332, allocations: 221 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2334, allocations: 0.6987 MB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.354e-05/0.2335, allocations: 11.98 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.2336, allocations: 7.438 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.2336, allocations: 0 / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.004608/0.2382, allocations: 1.103 MB / 0.9074 GB, free: 56.31 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)