Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003742/0.003747, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.46/1.46, allocations: 165.8 MB / 183.1 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.775/3.775, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001803, allocations: 192.9 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.0006361, allocations: 16 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4183, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.5859, allocations: 99.29 MB / 0.9057 GB, free: 9.352 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5862, allocations: 79.95 kB / 0.9058 GB, free: 9.273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007257/0.5935, allocations: 1.518 MB / 0.9072 GB, free: 7.758 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5935, allocations: 0 / 0.9072 GB, free: 7.758 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.5936, allocations: 4 kB / 0.9072 GB, free: 7.754 MB / 458.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.0007576/0.5943, allocations: 446.7 kB / 0.9077 GB, free: 7.258 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5944, allocations: 11.97 kB / 0.9077 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.5944, allocations: 7.906 kB / 0.9077 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.5947, allocations: 194.9 kB / 0.9079 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.5947, allocations: 8 kB / 0.9079 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.5948, allocations: 4 kB / 0.9079 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.5953, allocations: 121.6 kB / 0.908 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5953, allocations: 7.953 kB / 0.908 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5953, allocations: 4 kB / 0.908 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.5953, allocations: 0 / 0.908 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/0.5959, allocations: 107.9 kB / 0.9081 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.5966, allocations: 336.8 kB / 0.9084 GB, free: 6.375 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.5972, allocations: 125.5 kB / 0.9086 GB, free: 6.246 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.5975, allocations: 76.94 kB / 0.9086 GB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5976, allocations: 4 kB / 0.9086 GB, free: 6.164 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.598, allocations: 135.2 kB / 0.9088 GB, free: 6.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.598, allocations: 0 / 0.9088 GB, free: 6.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.00122/0.5993, allocations: 295.1 kB / 0.909 GB, free: 5.719 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.5994, allocations: 85.11 kB / 0.9091 GB, free: 5.617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.5995, allocations: 133.8 kB / 0.9093 GB, free: 5.477 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.5995, allocations: 33.7 kB / 0.9093 GB, free: 5.438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.5996, allocations: 96.03 kB / 0.9094 GB, free: 5.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.5997, allocations: 15.81 kB / 0.9094 GB, free: 5.324 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.5997, allocations: 0 / 0.9094 GB, free: 5.324 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5998, allocations: 322.8 kB / 0.9097 GB, free: 5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.6002, allocations: 75.95 kB / 0.9098 GB, free: 4.926 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.6005, allocations: 71.89 kB / 0.9098 GB, free: 4.855 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.6008, allocations: 119.4 kB / 0.91 GB, free: 4.727 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.6009, allocations: 0 / 0.91 GB, free: 4.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008627/0.6017, allocations: 276.8 kB / 0.9102 GB, free: 4.438 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.6018, allocations: 63.41 kB / 0.9103 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6018, allocations: 7.938 kB / 0.9103 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6019, allocations: 0 / 0.9103 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.6021, allocations: 19.97 kB / 0.9103 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6021, allocations: 0 / 0.9103 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.6024, allocations: 23.98 kB / 0.9103 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.6024, allocations: 8 kB / 0.9103 GB, free: 4.305 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.6026, allocations: 155.5 kB / 0.9105 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.6026, allocations: 11.86 kB / 0.9105 GB, free: 4.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.6027, allocations: 12.38 kB / 0.9105 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6027, allocations: 3.984 kB / 0.9105 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6027, allocations: 0 / 0.9105 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6027, allocations: 3.984 kB / 0.9105 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.6029, allocations: 193.6 kB / 0.9107 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6029, allocations: 0 / 0.9107 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.6031, allocations: 24.06 kB / 0.9107 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6031, allocations: 7.891 kB / 0.9107 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.6032, allocations: 8 kB / 0.9107 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6032, allocations: 256 / 0.9107 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6032, allocations: 0 / 0.9107 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.604, allocations: 266.6 kB / 0.911 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.6041, allocations: 81.02 kB / 0.9111 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.6042, allocations: 7.953 kB / 0.9111 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.6044, allocations: 31.97 kB / 0.9111 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6046, allocations: 35.95 kB / 0.9111 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.6047, allocations: 4 kB / 0.9111 GB, free: 3.367 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.6048, allocations: 102.6 kB / 0.9112 GB, free: 3.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.755e-06/0.6048, allocations: 0 / 0.9112 GB, free: 3.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.6051, allocations: 27.94 kB / 0.9113 GB, free: 3.242 MB / 458.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) * 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 (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.0001535/0.6052, allocations: 103.2 kB / 0.9114 GB, free: 3.133 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008715/0.6061, allocations: 282.6 kB / 0.9116 GB, free: 2.832 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6061, allocations: 0 / 0.9116 GB, free: 2.832 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.6066, allocations: 143.4 kB / 0.9118 GB, free: 2.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6069, allocations: 18.64 kB / 0.9118 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.6077, allocations: 241.2 kB / 0.912 GB, free: 2.395 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.608, allocations: 0.6887 MB / 0.9127 GB, free: 1.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.6081, allocations: 8.172 kB / 0.9127 GB, free: 1.668 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.6082, allocations: 11.44 kB / 0.9127 GB, free: 1.656 MB / 458.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6082, allocations: 0 / 0.9127 GB, free: 1.656 MB / 458.7 MB Notification: Performance of Templates: time 0.005383/0.6136, allocations: 1.537 MB / 0.9142 GB, free: 136 kB / 458.7 MB