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.0008253/0.0008253, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004539/0.004539, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.105/1.105, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.497/1.497, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004452/0.0004452, allocations: 18.11 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001286/0.1656, allocations: 1.206 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.1662, allocations: 0.4892 MB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.1663, allocations: 0 / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.559e-05/0.1663, allocations: 7.922 kB / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.1664, allocations: 19.81 kB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1666, allocations: 31.95 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.776e-05/0.1667, allocations: 83.83 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.1667, allocations: 12.17 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.1669, allocations: 43.84 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.1669, allocations: 43.81 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.167, allocations: 8 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.167, allocations: 0 / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.167, allocations: 11.92 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.1671, allocations: 57.56 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1672, allocations: 79.95 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1672, allocations: 0 / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1672, allocations: 0 / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1672, allocations: 0 / 0.79 GB, free: 9.363 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.0005542/0.1678, allocations: 442.7 kB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1678, allocations: 8.031 kB / 0.7905 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.1679, allocations: 46.67 kB / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1679, allocations: 12.78 kB / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1681, allocations: 184.2 kB / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1681, allocations: 4.375 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1681, allocations: 24.34 kB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1684, allocations: 121.6 kB / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1684, allocations: 0 / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1684, allocations: 0 / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1684, allocations: 4 kB / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.1687, allocations: 103.9 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.1692, allocations: 348.6 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1695, allocations: 118.5 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.1697, allocations: 80.94 kB / 0.7915 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1697, allocations: 4 kB / 0.7915 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.17, allocations: 127.3 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.17, allocations: 8 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006547/0.1707, allocations: 295.2 kB / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1708, allocations: 85.11 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.1708, allocations: 132.7 kB / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1709, allocations: 33.7 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.1709, allocations: 99.98 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.171, allocations: 11.89 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.171, allocations: 17.72 kB / 0.7922 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.1711, allocations: 326.8 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1713, allocations: 71.95 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1715, allocations: 75.89 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1718, allocations: 201.9 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1718, allocations: 0 / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004677/0.1723, allocations: 272.8 kB / 0.7931 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.1723, allocations: 67.41 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1723, allocations: 3.984 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1724, allocations: 0 / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1725, allocations: 19.98 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1725, allocations: 0 / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1726, allocations: 27.89 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.1727, allocations: 15.92 kB / 0.7933 GB, free: 5.738 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.323e-05/0.1728, allocations: 151.5 kB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1728, allocations: 8 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1728, allocations: 16.36 kB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1728, allocations: 0 / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1728, allocations: 0 / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1728, allocations: 0 / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.173, allocations: 209.5 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.173, allocations: 3.938 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.1731, allocations: 15.98 kB / 0.7937 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.1731, allocations: 0 / 0.7937 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1731, allocations: 11.94 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1731, allocations: 256 / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1731, allocations: 0 / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.1736, allocations: 266.6 kB / 0.7939 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1736, allocations: 81.11 kB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1736, allocations: 0 / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1738, allocations: 31.97 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1739, allocations: 35.95 kB / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1739, allocations: 4 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.174, allocations: 103.2 kB / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.174, allocations: 4 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001909/0.1742, allocations: 24 kB / 0.7942 GB, free: 4.684 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.000673/0.1749, allocations: 0.7936 MB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.1753, allocations: 282.7 kB / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1753, allocations: 0 / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1756, allocations: 147.3 kB / 0.7954 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.1758, allocations: 23.92 kB / 0.7954 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1778, allocations: 1.8 MB / 0.7972 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.178, allocations: 0.6887 MB / 0.7978 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.746e-05/0.178, allocations: 11.97 kB / 0.7978 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.1781, allocations: 23.42 kB / 0.7979 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.1781, allocations: 4 kB / 0.7979 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.662/1.84, allocations: 2.539 MB / 0.8003 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.84, allocations: 209.2 kB / 0.8005 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/3.67, allocations: 4 kB / 0.8005 GB, free: 14.07 MB / 0.6231 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)