Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9309/0.9309, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001137/0.001137, allocations: 173.1 kB / 171.8 MB, free: 2.059 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.894/1.894, allocations: 170.6 MB / 374.2 MB, free: 18.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001725/0.001725, allocations: 104.6 kB / 444.8 MB, free: 15.27 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2057/0.2057, allocations: 73.42 MB / 0.6666 GB, free: 14.33 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7091/0.9149, allocations: 102.4 MB / 0.7666 GB, free: 23.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.9151, allocations: 89.94 kB / 0.7667 GB, free: 23.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004353/0.9195, allocations: 1.46 MB / 0.7681 GB, free: 22.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.9195, allocations: 3.938 kB / 0.7681 GB, free: 22.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.9196, allocations: 0 / 0.7681 GB, free: 22.54 MB / 490.7 MB 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.0005111/0.9201, allocations: 442 kB / 0.7685 GB, free: 22.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.9201, allocations: 12.03 kB / 0.7685 GB, free: 22.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.9202, allocations: 10.14 kB / 0.7686 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.9204, allocations: 182.4 kB / 0.7687 GB, free: 21.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.9204, allocations: 6.938 kB / 0.7687 GB, free: 21.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9204, allocations: 7.562 kB / 0.7687 GB, free: 21.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.9206, allocations: 35.2 kB / 0.7688 GB, free: 21.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.9207, allocations: 70.38 kB / 0.7688 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.9207, allocations: 0 / 0.7688 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.9207, allocations: 0 / 0.7688 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9208, allocations: 4 kB / 0.7688 GB, free: 21.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.9213, allocations: 321.4 kB / 0.7692 GB, free: 21.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.9214, allocations: 55.92 kB / 0.7692 GB, free: 21.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.9215, allocations: 28.36 kB / 0.7692 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.9215, allocations: 3.062 kB / 0.7692 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.9216, allocations: 86.83 kB / 0.7693 GB, free: 21.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.9217, allocations: 0 / 0.7693 GB, free: 21.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002343/0.9219, allocations: 97.52 kB / 0.7694 GB, free: 21.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.9219, allocations: 77.11 kB / 0.7695 GB, free: 21.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.922, allocations: 116.5 kB / 0.7696 GB, free: 21.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.9221, allocations: 34.33 kB / 0.7696 GB, free: 21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.9221, allocations: 97.94 kB / 0.7697 GB, free: 20.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.9221, allocations: 26.67 kB / 0.7697 GB, free: 20.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.9222, allocations: 3.938 kB / 0.7698 GB, free: 20.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.9222, allocations: 318 kB / 0.7701 GB, free: 20.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.9223, allocations: 28.81 kB / 0.7701 GB, free: 20.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.9223, allocations: 23 kB / 0.7701 GB, free: 20.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.9224, allocations: 27.02 kB / 0.7701 GB, free: 20.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9224, allocations: 0 / 0.7701 GB, free: 20.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.9226, allocations: 119.4 kB / 0.7702 GB, free: 20.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.9226, allocations: 63.34 kB / 0.7703 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9226, allocations: 4 kB / 0.7703 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9226, allocations: 0 / 0.7703 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.9228, allocations: 22.94 kB / 0.7703 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.9228, allocations: 0 / 0.7703 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.9229, allocations: 19.94 kB / 0.7704 GB, free: 20.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.9229, allocations: 4 kB / 0.7704 GB, free: 20.32 MB / 490.7 MB 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 () * 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 7.834e-05/0.923, allocations: 145.7 kB / 0.7705 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.923, allocations: 11.09 kB / 0.7705 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.9231, allocations: 11.94 kB / 0.7705 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.9231, allocations: 0.5625 kB / 0.7705 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9231, allocations: 0.75 kB / 0.7705 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9231, allocations: 3.469 kB / 0.7705 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.9233, allocations: 333.3 kB / 0.7708 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.9234, allocations: 0 / 0.7708 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.9235, allocations: 23.47 kB / 0.7709 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.9235, allocations: 288 / 0.7709 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.9235, allocations: 0.875 kB / 0.7709 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9235, allocations: 0 / 0.7709 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9235, allocations: 3.938 kB / 0.7709 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.9237, allocations: 205.4 kB / 0.7711 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.9237, allocations: 91.88 kB / 0.7711 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.9238, allocations: 11.94 kB / 0.7712 GB, free: 19.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.9239, allocations: 20.92 kB / 0.7712 GB, free: 19.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.924, allocations: 21.56 kB / 0.7712 GB, free: 19.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.9241, allocations: 4 kB / 0.7712 GB, free: 19.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.9241, allocations: 101.3 kB / 0.7713 GB, free: 19.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9241, allocations: 0 / 0.7713 GB, free: 19.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.9243, allocations: 16 kB / 0.7713 GB, free: 19.38 MB / 490.7 MB 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) * 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.0001247/0.9245, allocations: 106.9 kB / 0.7714 GB, free: 19.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.9247, allocations: 178.1 kB / 0.7716 GB, free: 19.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9247, allocations: 0 / 0.7716 GB, free: 19.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.9248, allocations: 90.88 kB / 0.7717 GB, free: 19.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.925, allocations: 4 kB / 0.7717 GB, free: 19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.9253, allocations: 127.6 kB / 0.7718 GB, free: 18.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.9255, allocations: 0.7015 MB / 0.7725 GB, free: 18.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.9255, allocations: 11.47 kB / 0.7725 GB, free: 18.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.9256, allocations: 11.38 kB / 0.7725 GB, free: 18.15 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.9256, allocations: 0 / 0.7725 GB, free: 18.15 MB / 490.7 MB Notification: Performance of Templates: time 0.00305/0.9286, allocations: 1.026 MB / 0.7735 GB, free: 17.59 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)