Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.189/2.189, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 193.3 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 103.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 56.86 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.286, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002671/0.2887, allocations: 1.53 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.2896, allocations: 463.8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.2896, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2898, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.2899, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.2901, allocations: 39.97 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2902, allocations: 91.7 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2903, allocations: 12.17 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2904, allocations: 39.89 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.2905, allocations: 39.83 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.2905, allocations: 7.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.2906, allocations: 8 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.2906, allocations: 11.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.2907, allocations: 35.8 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2908, allocations: 75.75 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2908, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2908, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2908, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 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.000612/0.2914, allocations: 448.6 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2915, allocations: 15.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.2915, allocations: 12.84 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2917, allocations: 188.2 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2917, allocations: 4.375 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.2917, allocations: 12.38 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.292, allocations: 121.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.292, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2921, allocations: 11.94 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2921, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.2923, allocations: 95.91 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.2928, allocations: 324.7 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.2931, allocations: 106.5 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.2932, allocations: 72.94 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2933, allocations: 3.938 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.2936, allocations: 123.3 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.2936, allocations: 3.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0006179/0.2942, allocations: 279.2 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.2943, allocations: 85.11 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.2944, allocations: 127.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2944, allocations: 33.64 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.2944, allocations: 100 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.2944, allocations: 15.81 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.2945, allocations: 33.7 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.2946, allocations: 322.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.2947, allocations: 71.94 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.2949, allocations: 59.95 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.2952, allocations: 189.9 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2952, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004259/0.2956, allocations: 260.9 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.2957, allocations: 64.66 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2957, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2957, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2958, allocations: 11.98 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2958, allocations: 7.984 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.296, allocations: 19.92 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.296, allocations: 8 kB / 1.223 GB, free: 111.4 MB / 0.823 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 8.717e-05/0.2961, allocations: 156.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.2961, allocations: 7.906 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.2962, allocations: 16.31 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2962, allocations: 96 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2962, allocations: 3.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2962, allocations: 7.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.999e-05/0.2963, allocations: 193.6 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2963, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.2964, allocations: 15.97 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2964, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2964, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2964, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2964, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.2971, allocations: 0.8795 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.2971, allocations: 81.02 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2972, allocations: 11.92 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2973, allocations: 15.98 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2974, allocations: 43.95 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2974, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.2975, allocations: 101.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2975, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002855/0.2978, allocations: 20 kB / 1.225 GB, free: 109.7 MB / 0.823 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 9.847e-05/0.2979, allocations: 103.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.2983, allocations: 274.6 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2983, allocations: 0 / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.2986, allocations: 135.4 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2988, allocations: 15.98 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.2993, allocations: 351.9 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.2995, allocations: 0.7003 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.184e-05/0.2995, allocations: 4 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.2996, allocations: 19.44 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of SimCode: time 9.32e-07/0.2996, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of Templates: time 0.003434/0.303, allocations: 1.673 MB / 1.228 GB, free: 106.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)