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: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008327/0.0008327, allocations: 90.52 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.005732/0.005732, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.73/1.73, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.788/1.788, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005776/0.0005777, allocations: 14.31 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2622, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001735/0.264, allocations: 1.199 MB / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.2648, allocations: 0.493 MB / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2649, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.444e-05/0.265, allocations: 3.938 kB / 0.7895 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.265, allocations: 19.84 kB / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.2652, allocations: 27.97 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.2654, allocations: 87.77 kB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2655, allocations: 16.17 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2656, allocations: 35.91 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.2657, allocations: 43.77 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2657, allocations: 4 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.2657, allocations: 4 kB / 0.7898 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.2658, allocations: 11.92 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.2659, allocations: 65.53 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.266, allocations: 75.98 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.266, allocations: 0 / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.266, allocations: 0 / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.266, allocations: 0 / 0.7899 GB, free: 9.477 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.0006202/0.2667, allocations: 442.7 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2667, allocations: 8.031 kB / 0.7903 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.2667, allocations: 12.84 kB / 0.7903 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2669, allocations: 196.1 kB / 0.7905 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2669, allocations: 384 / 0.7905 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.267, allocations: 16.38 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2673, allocations: 117.8 kB / 0.7907 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2673, allocations: 3.938 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2673, allocations: 7.984 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2673, allocations: 0 / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.2677, allocations: 103.9 kB / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.2682, allocations: 340.7 kB / 0.7911 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.2685, allocations: 114.5 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.2687, allocations: 88.88 kB / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2688, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.2691, allocations: 131.3 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.2691, allocations: 3.984 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007145/0.2698, allocations: 299.2 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.2699, allocations: 85.11 kB / 0.7918 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.27, allocations: 129.7 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.27, allocations: 33.7 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.2701, allocations: 96.12 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2701, allocations: 19.81 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.2702, allocations: 21.72 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2703, allocations: 326.8 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.2705, allocations: 71.95 kB / 0.7925 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2707, allocations: 71.95 kB / 0.7925 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.271, allocations: 197.9 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2711, allocations: 0 / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005079/0.2716, allocations: 276.8 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.2716, allocations: 67.39 kB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2716, allocations: 0 / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2717, allocations: 4 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2718, allocations: 15.98 kB / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2718, allocations: 4 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.272, allocations: 31.88 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.272, allocations: 4 kB / 0.7931 GB, free: 5.91 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 0.0001252/0.2721, allocations: 160.1 kB / 0.7933 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.2721, allocations: 11.92 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2722, allocations: 12.38 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2722, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2722, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2722, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.2724, allocations: 201.5 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2724, allocations: 4.188 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.2725, allocations: 19.98 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2725, allocations: 4 kB / 0.7935 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2725, allocations: 4 kB / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2725, allocations: 0 / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2725, allocations: 160 / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.273, allocations: 258.7 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2731, allocations: 92.94 kB / 0.7938 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2731, allocations: 4 kB / 0.7938 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2733, allocations: 27.98 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.2734, allocations: 39.89 kB / 0.7939 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2734, allocations: 4 kB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.2735, allocations: 103.2 kB / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2735, allocations: 0 / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002044/0.2737, allocations: 27.94 kB / 0.794 GB, free: 4.848 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.0001086/0.2738, allocations: 103.2 kB / 0.7941 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.2743, allocations: 278.7 kB / 0.7944 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2743, allocations: 0 / 0.7944 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.2746, allocations: 151.3 kB / 0.7945 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.2748, allocations: 18.8 kB / 0.7946 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.2753, allocations: 245.1 kB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2756, allocations: 0.6965 MB / 0.7955 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.2756, allocations: 4 kB / 0.7955 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.2757, allocations: 15.42 kB / 0.7955 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2757, allocations: 0 / 0.7955 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.003759/0.2794, allocations: 1.589 MB / 0.797 GB, free: 1.688 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: