Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7231/0.7231, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 181.5 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.3 MB / 441.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.11 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001874, allocations: 279.3 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.152e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4027, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.5134, allocations: 109.5 MB / 0.8712 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.5138, allocations: 80.42 kB / 0.8713 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004726/0.5185, allocations: 1.541 MB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5185, allocations: 0 / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.5185, allocations: 0 / 0.8728 GB, free: 13.45 MB / 0.5417 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.0005077/0.519, allocations: 433.7 kB / 0.8732 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5191, allocations: 12.02 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.5191, allocations: 15.91 kB / 0.8732 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.5194, allocations: 187 kB / 0.8734 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5194, allocations: 4 kB / 0.8734 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.5194, allocations: 4 kB / 0.8734 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.5196, allocations: 101.8 kB / 0.8735 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5196, allocations: 0 / 0.8735 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.5197, allocations: 3.984 kB / 0.8735 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5197, allocations: 3.984 kB / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.5198, allocations: 48 kB / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.5203, allocations: 348.7 kB / 0.8739 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.5205, allocations: 74.5 kB / 0.874 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.5206, allocations: 52.97 kB / 0.874 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.5206, allocations: 8 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.5208, allocations: 99.36 kB / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5208, allocations: 4 kB / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0003357/0.5211, allocations: 175.3 kB / 0.8743 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5212, allocations: 81.11 kB / 0.8744 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.5213, allocations: 127 kB / 0.8745 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5213, allocations: 33.7 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.5214, allocations: 99.97 kB / 0.8746 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5214, allocations: 11.91 kB / 0.8746 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.5214, allocations: 4 kB / 0.8746 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5216, allocations: 322.8 kB / 0.8749 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/0.5217, allocations: 48 kB / 0.875 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.5217, allocations: 43.98 kB / 0.875 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.368e-05/0.5218, allocations: 95.41 kB / 0.8751 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5219, allocations: 0 / 0.8751 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002895/0.5221, allocations: 216.9 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.5222, allocations: 67.41 kB / 0.8754 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5222, allocations: 4 kB / 0.8754 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5222, allocations: 3.984 kB / 0.8754 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5224, allocations: 20.05 kB / 0.8754 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5224, allocations: 0 / 0.8754 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5225, allocations: 27.89 kB / 0.8754 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.5226, allocations: 11.98 kB / 0.8755 GB, free: 10.45 MB / 0.5417 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/0.5227, allocations: 146.6 kB / 0.8756 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.5227, allocations: 7.906 kB / 0.8756 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.5227, allocations: 12.62 kB / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5227, allocations: 0 / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5227, allocations: 0 / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5228, allocations: 3.984 kB / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.5229, allocations: 193.6 kB / 0.8758 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5229, allocations: 3.938 kB / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.523, allocations: 23.97 kB / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.523, allocations: 3.938 kB / 0.8758 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.523, allocations: 4 kB / 0.8758 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.523, allocations: 0 / 0.8758 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5231, allocations: 0 / 0.8758 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.5233, allocations: 206.7 kB / 0.876 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.5234, allocations: 89.09 kB / 0.8761 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.5234, allocations: 4 kB / 0.8761 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5236, allocations: 23.98 kB / 0.8761 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5237, allocations: 39.94 kB / 0.8762 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5237, allocations: 8 kB / 0.8762 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.5238, allocations: 91.28 kB / 0.8763 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5238, allocations: 0 / 0.8763 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002007/0.524, allocations: 39.92 kB / 0.8763 GB, free: 9.457 MB / 0.5417 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) * 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 (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.0001212/0.5241, allocations: 100.7 kB / 0.8764 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.5244, allocations: 226.7 kB / 0.8766 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5244, allocations: 0 / 0.8766 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.5246, allocations: 127.3 kB / 0.8767 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.5248, allocations: 19.78 kB / 0.8768 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.5252, allocations: 157.4 kB / 0.8769 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.5254, allocations: 0.6887 MB / 0.8776 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.58e-05/0.5255, allocations: 12.17 kB / 0.8776 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.5255, allocations: 7.438 kB / 0.8776 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.5255, allocations: 3.938 kB / 0.8776 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of Templates: time 0.00361/0.5291, allocations: 1.538 MB / 0.8791 GB, free: 6.508 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)