Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001138/0.001138, allocations: 171.9 kB / 326.5 MB, free: 2.668 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.821/1.821, allocations: 205 MB / 0.5766 GB, free: 21 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.0007187/0.0007187, allocations: 88.08 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 11.41 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2428, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001908/0.2448, allocations: 1.247 MB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008886/0.2457, allocations: 0.5002 MB / 0.8984 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2458, allocations: 0 / 0.8984 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2459, allocations: 3.938 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.246, allocations: 23.84 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.2462, allocations: 19.98 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2463, allocations: 83.64 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2465, allocations: 16.12 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2466, allocations: 39.89 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.2467, allocations: 31.84 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.2467, allocations: 4 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.2468, allocations: 4 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.2468, allocations: 15.92 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.2469, allocations: 27.84 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.87e-05/0.247, allocations: 47.91 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.247, allocations: 0 / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.327e-06/0.247, allocations: 0 / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.247, allocations: 3.938 kB / 0.8988 GB, free: 66.06 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.0006144/0.2477, allocations: 438.6 kB / 0.8992 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2477, allocations: 8.031 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.2478, allocations: 16.83 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2479, allocations: 184.2 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.248, allocations: 12.38 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.248, allocations: 4.375 kB / 0.8994 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.2483, allocations: 105.8 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2483, allocations: 3.938 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2484, allocations: 8 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2484, allocations: 0 / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.2487, allocations: 87.94 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.2493, allocations: 344.7 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2497, allocations: 98.53 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.2499, allocations: 64.94 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2499, allocations: 4 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.2503, allocations: 111.2 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2503, allocations: 0 / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007176/0.251, allocations: 239.2 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2511, allocations: 81.11 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2512, allocations: 135.4 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2512, allocations: 29.7 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2513, allocations: 92.12 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.2513, allocations: 23.66 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2514, allocations: 21.66 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.2514, allocations: 326.8 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2516, allocations: 55.95 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.2518, allocations: 55.97 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.2522, allocations: 185.8 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2522, allocations: 0 / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004815/0.2527, allocations: 228.9 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.2527, allocations: 59.41 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2528, allocations: 3.938 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2528, allocations: 0 / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2529, allocations: 27.98 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.253, allocations: 3.984 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.2531, allocations: 15.98 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2532, allocations: 7.938 kB / 0.9017 GB, free: 62.75 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 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.42e-05/0.2533, allocations: 143.5 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2533, allocations: 19.89 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.2533, allocations: 12.72 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2533, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2534, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2534, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.254, allocations: 452.1 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.254, allocations: 288 / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2541, allocations: 15.98 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2541, allocations: 0 / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2541, allocations: 7.938 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2541, allocations: 7.922 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2542, allocations: 0 / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.2546, allocations: 281 kB / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.2547, allocations: 93 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.2547, allocations: 0 / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.2549, allocations: 23.92 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.255, allocations: 19.97 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2551, allocations: 12 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.2551, allocations: 100.5 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2551, allocations: 0 / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003572/0.2555, allocations: 20 kB / 0.9029 GB, free: 61.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.2556, allocations: 107.2 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.2561, allocations: 246.6 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2561, allocations: 0 / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.2564, allocations: 111.4 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.2568, allocations: 11.92 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.2573, allocations: 253.3 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2575, allocations: 0.6926 MB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.2575, allocations: 11.44 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2575, allocations: 4 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.002889/0.2604, allocations: 1.248 MB / 0.9055 GB, free: 58.69 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)