Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 198.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.502/1.502, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.25 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002484/0.1704, allocations: 1.542 MB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00071/0.1712, allocations: 0.493 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.1712, allocations: 3.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.937e-05/0.1713, allocations: 3.938 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.1714, allocations: 3.938 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.1716, allocations: 39.89 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1717, allocations: 107.8 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.809e-05/0.1718, allocations: 4.188 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1719, allocations: 51.83 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.172, allocations: 43.83 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.172, allocations: 8 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.1721, allocations: 12 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.1721, allocations: 15.92 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.1722, allocations: 39.84 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1723, allocations: 79.98 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1723, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1723, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1723, allocations: 3.938 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006034/0.1729, allocations: 450.6 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.173, allocations: 15.97 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.173, allocations: 38.75 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1731, allocations: 12.84 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1732, allocations: 196.1 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1732, allocations: 4.375 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1733, allocations: 4.375 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1735, allocations: 121.5 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1736, allocations: 0 / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1736, allocations: 0 / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1736, allocations: 8 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.1739, allocations: 83.92 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.1743, allocations: 328.8 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1746, allocations: 114.4 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1748, allocations: 72.94 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1748, allocations: 0 / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.1751, allocations: 119.3 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1751, allocations: 4 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006375/0.1758, allocations: 275.1 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1758, allocations: 85.11 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.1759, allocations: 128.8 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.176, allocations: 33.7 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.176, allocations: 99.98 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.176, allocations: 19.8 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.1761, allocations: 29.72 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.1762, allocations: 322.8 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.1764, allocations: 63.95 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1766, allocations: 63.95 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.1769, allocations: 193.9 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1769, allocations: 0 / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004586/0.1774, allocations: 261 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.1774, allocations: 63.39 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1774, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1774, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1776, allocations: 27.92 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1776, allocations: 0 / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1777, allocations: 23.91 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1777, allocations: 7.938 kB / 0.7885 GB, free: 7.855 MB / 0.6075 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.931e-05/0.1779, allocations: 155.5 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.1779, allocations: 11.89 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.1779, allocations: 12.38 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1779, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1779, allocations: 4 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1779, allocations: 0 / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.1781, allocations: 197.7 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1781, allocations: 0 / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.1782, allocations: 15.98 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1782, allocations: 0 / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1782, allocations: 8 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1782, allocations: 0 / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1782, allocations: 3.984 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.1786, allocations: 254.5 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.1787, allocations: 81.02 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.1787, allocations: 4 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1789, allocations: 19.97 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.179, allocations: 35.97 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.179, allocations: 4 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.1791, allocations: 103.2 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1791, allocations: 4 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001978/0.1793, allocations: 23.98 kB / 0.7894 GB, free: 6.828 MB / 0.6075 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.0006808/0.18, allocations: 0.7819 MB / 0.7901 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.1804, allocations: 266.7 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1804, allocations: 0 / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1807, allocations: 143.2 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.1809, allocations: 20 kB / 0.7905 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1829, allocations: 1.762 MB / 0.7923 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1831, allocations: 0.6962 MB / 0.7929 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.1831, allocations: 11.98 kB / 0.793 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.1832, allocations: 23.42 kB / 0.793 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1832, allocations: 3.938 kB / 0.793 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/0.4646, allocations: 2.722 MB / 0.7956 GB, free: 364 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.4648, allocations: 206 kB / 0.7958 GB, free: 100 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.082, allocations: 3.25 kB / 0.7958 GB, free: 100 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)