Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5849/0.5849, allocations: 94.7 MB / 107.3 MB, free: 5.172 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001374/0.001374, allocations: 182 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.829/1.829, allocations: 170.5 MB / 324.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001838/0.001838, allocations: 107.2 kB / 386.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.777e-05/5.803e-05, allocations: 7.938 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4967, allocations: 61.52 MB / 0.5054 GB, free: 49.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.6457, allocations: 94.64 MB / 0.5978 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.646, allocations: 71.97 kB / 0.5979 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004825/0.6508, allocations: 1.466 MB / 0.5993 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.6509, allocations: 6.391 kB / 0.5993 GB, free: 15.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.6509, allocations: 4 kB / 0.5993 GB, free: 15.43 MB / 426.7 MB 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.00065/0.6516, allocations: 435.3 kB / 0.5997 GB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6516, allocations: 13.09 kB / 0.5997 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.6517, allocations: 7.906 kB / 0.5997 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.652, allocations: 187 kB / 0.5999 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.652, allocations: 1.516 kB / 0.5999 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.652, allocations: 11.94 kB / 0.5999 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.6523, allocations: 99.58 kB / 0.6 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6523, allocations: 0 / 0.6 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.6524, allocations: 12.64 kB / 0.6 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6524, allocations: 0 / 0.6 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.6525, allocations: 48 kB / 0.6001 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.6532, allocations: 352.1 kB / 0.6004 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.6534, allocations: 77.09 kB / 0.6005 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.6535, allocations: 55.59 kB / 0.6006 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.6536, allocations: 0 / 0.6006 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.6538, allocations: 104.7 kB / 0.6007 GB, free: 13.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6538, allocations: 0 / 0.6007 GB, free: 13.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004283/0.6543, allocations: 184.7 kB / 0.6008 GB, free: 13.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.6544, allocations: 83.77 kB / 0.6009 GB, free: 13.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.6545, allocations: 119.5 kB / 0.601 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.6546, allocations: 29.7 kB / 0.601 GB, free: 13.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.6547, allocations: 104 kB / 0.6011 GB, free: 13.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.6547, allocations: 11.81 kB / 0.6012 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.6547, allocations: 8 kB / 0.6012 GB, free: 13.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6549, allocations: 323.5 kB / 0.6015 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.655, allocations: 49.2 kB / 0.6015 GB, free: 12.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.6551, allocations: 44.66 kB / 0.6016 GB, free: 12.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.6552, allocations: 87.94 kB / 0.6016 GB, free: 12.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6553, allocations: 4 kB / 0.6017 GB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003432/0.6556, allocations: 217.8 kB / 0.6019 GB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/0.6557, allocations: 63.39 kB / 0.6019 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6557, allocations: 4 kB / 0.6019 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6557, allocations: 0 / 0.6019 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6559, allocations: 17.95 kB / 0.6019 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6559, allocations: 0 / 0.6019 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.6561, allocations: 40.75 kB / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.6561, allocations: 4 kB / 0.602 GB, free: 12.45 MB / 426.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,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 0.0001575/0.6563, allocations: 151.6 kB / 0.6021 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.6563, allocations: 7.906 kB / 0.6021 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.6564, allocations: 20.55 kB / 0.6022 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6564, allocations: 0 / 0.6022 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6564, allocations: 0 / 0.6022 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6564, allocations: 4 kB / 0.6022 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.6566, allocations: 197.6 kB / 0.6023 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6566, allocations: 0.8125 kB / 0.6023 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.6567, allocations: 15.98 kB / 0.6024 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6567, allocations: 0 / 0.6024 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.6567, allocations: 8 kB / 0.6024 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6568, allocations: 0 / 0.6024 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6568, allocations: 1.562 kB / 0.6024 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.6571, allocations: 210.7 kB / 0.6026 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/0.6572, allocations: 101 kB / 0.6027 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.6573, allocations: 0 / 0.6027 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.6574, allocations: 27.97 kB / 0.6027 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6576, allocations: 45.77 kB / 0.6027 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.6576, allocations: 4 kB / 0.6027 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.77e-05/0.6577, allocations: 99.28 kB / 0.6028 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6577, allocations: 0 / 0.6028 GB, free: 11.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.6579, allocations: 31.92 kB / 0.6029 GB, free: 11.45 MB / 426.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,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.0001674/0.6581, allocations: 102 kB / 0.603 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.6585, allocations: 222.8 kB / 0.6032 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6585, allocations: 4 kB / 0.6032 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.6586, allocations: 121.1 kB / 0.6033 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.6588, allocations: 17.86 kB / 0.6033 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.6592, allocations: 150 kB / 0.6035 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.6596, allocations: 0.6965 MB / 0.6041 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.6597, allocations: 5.078 kB / 0.6041 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.6597, allocations: 15.42 kB / 0.6042 GB, free: 10.05 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6597, allocations: 4 kB / 0.6042 GB, free: 10.04 MB / 426.7 MB Notification: Performance of Templates: time 0.004589/0.6643, allocations: 1.532 MB / 0.6057 GB, free: 8.586 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)