Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008849/0.008849, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.00195/0.00195, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.564/1.564, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.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.001412/0.001412, allocations: 62.61 kB / 0.7257 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2833, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003217/0.2866, allocations: 1.482 MB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000977/0.2876, allocations: 0.4956 MB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.2876, allocations: 4 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2878, allocations: 7.875 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.2878, allocations: 11.88 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2881, allocations: 39.94 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.2883, allocations: 103.7 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.2884, allocations: 12.19 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2886, allocations: 47.83 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2887, allocations: 51.81 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.2887, allocations: 8 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.2888, allocations: 8 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.2888, allocations: 8 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.2889, allocations: 43.78 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2891, allocations: 79.7 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2891, allocations: 0 / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2891, allocations: 0 / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2891, allocations: 3.938 kB / 0.8304 GB, free: 13.81 MB / 0.6544 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.00088/0.29, allocations: 454.6 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.29, allocations: 8.031 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.2901, allocations: 12.84 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2904, allocations: 188.2 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2904, allocations: 8.375 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.2904, allocations: 8.375 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2908, allocations: 121.7 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2908, allocations: 0 / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2908, allocations: 4 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2909, allocations: 0 / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.2912, allocations: 87.92 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.2918, allocations: 340.6 kB / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.2922, allocations: 110.4 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.2924, allocations: 68.94 kB / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.2924, allocations: 0 / 0.8317 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.2928, allocations: 127.3 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.2928, allocations: 4 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0007791/0.2936, allocations: 275.1 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.2937, allocations: 81.11 kB / 0.8322 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2938, allocations: 133.1 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2939, allocations: 29.7 kB / 0.8323 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.294, allocations: 100.1 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.294, allocations: 19.8 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.2941, allocations: 25.72 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2942, allocations: 322.8 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2944, allocations: 63.95 kB / 0.8328 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2946, allocations: 67.95 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.295, allocations: 182 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.295, allocations: 3.938 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005025/0.2955, allocations: 260.8 kB / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.2956, allocations: 67.39 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2956, allocations: 0 / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2956, allocations: 0 / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2957, allocations: 15.98 kB / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2958, allocations: 4.156 kB / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2959, allocations: 27.88 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.296, allocations: 7.938 kB / 0.8334 GB, free: 10.36 MB / 0.6544 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.0001254/0.2961, allocations: 167.3 kB / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.2961, allocations: 4 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.2962, allocations: 12.36 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2962, allocations: 4 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2962, allocations: 4 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2962, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2964, allocations: 201.5 kB / 0.8338 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2964, allocations: 0 / 0.8338 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.2965, allocations: 12.23 kB / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2965, allocations: 0 / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2965, allocations: 7.938 kB / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2965, allocations: 7.984 kB / 0.8338 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2966, allocations: 3.984 kB / 0.8338 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.297, allocations: 246.6 kB / 0.8341 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.2971, allocations: 85.02 kB / 0.8342 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.2971, allocations: 8 kB / 0.8342 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2973, allocations: 19.97 kB / 0.8342 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.2975, allocations: 31.97 kB / 0.8342 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2975, allocations: 8 kB / 0.8342 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.164e-05/0.2975, allocations: 99.27 kB / 0.8343 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2976, allocations: 0 / 0.8343 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002132/0.2978, allocations: 31.92 kB / 0.8343 GB, free: 9.312 MB / 0.6544 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.0001235/0.2979, allocations: 99.25 kB / 0.8344 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005279/0.2984, allocations: 266.6 kB / 0.8347 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2984, allocations: 4 kB / 0.8347 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.2987, allocations: 139.3 kB / 0.8348 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.299, allocations: 15.94 kB / 0.8349 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.2995, allocations: 219.2 kB / 0.8351 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2998, allocations: 0.6962 MB / 0.8357 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.268e-05/0.2999, allocations: 11.73 kB / 0.8358 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.2999, allocations: 11.44 kB / 0.8358 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.2999, allocations: 0 / 0.8358 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.005043/0.305, allocations: 1.863 MB / 0.8376 GB, free: 5.926 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)