Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 194.3 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.62 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002617/0.2863, allocations: 1.474 MB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.2871, allocations: 470.7 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.2872, allocations: 4 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.829e-05/0.2873, allocations: 3.938 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.2873, allocations: 11.86 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.2875, allocations: 39.89 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2877, allocations: 99.69 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.2878, allocations: 24.17 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2879, allocations: 43.91 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.288, allocations: 39.81 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2881, allocations: 8 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.2881, allocations: 8 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.2881, allocations: 19.92 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.2882, allocations: 51.72 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2883, allocations: 71.77 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2883, allocations: 4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2883, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2884, allocations: 4 kB / 1.07 GB, free: 8.113 MB / 0.8262 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.0006519/0.289, allocations: 452.5 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.289, allocations: 8.031 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.2891, allocations: 8.938 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.2893, allocations: 195.5 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2893, allocations: 8.375 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.2893, allocations: 16.36 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2897, allocations: 113.8 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2897, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2897, allocations: 3.938 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2897, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.29, allocations: 99.86 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.2906, allocations: 328.7 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.2909, allocations: 110.5 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.2911, allocations: 72.94 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2911, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.2915, allocations: 123.3 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.2915, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007217/0.2922, allocations: 271.2 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.2923, allocations: 89.09 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2924, allocations: 129.8 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.2924, allocations: 29.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.2925, allocations: 96.05 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2925, allocations: 19.73 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.2926, allocations: 29.72 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2927, allocations: 326.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2929, allocations: 67.89 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2931, allocations: 63.95 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.2935, allocations: 185.9 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2935, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005112/0.294, allocations: 264.8 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.2941, allocations: 69.11 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2941, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2941, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.2942, allocations: 15.98 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2942, allocations: 0 / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2944, allocations: 23.97 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2944, allocations: 8 kB / 1.074 GB, free: 4.66 MB / 0.8262 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.0001171/0.2945, allocations: 151.5 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.2946, allocations: 7.906 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.2946, allocations: 12.36 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2946, allocations: 4 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2946, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2946, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2948, allocations: 201.6 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2948, allocations: 11.88 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.2949, allocations: 12.23 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2949, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2949, allocations: 8 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2949, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2949, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.2955, allocations: 250.6 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.2955, allocations: 88.94 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2956, allocations: 4 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2957, allocations: 19.98 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2959, allocations: 35.95 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2959, allocations: 4 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.2959, allocations: 97.52 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2959, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002204/0.2962, allocations: 35.94 kB / 1.074 GB, free: 3.629 MB / 0.8262 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.0001112/0.2963, allocations: 103.7 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.2968, allocations: 266.7 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2968, allocations: 3.938 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.2971, allocations: 139.3 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2973, allocations: 20.3 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.2979, allocations: 207.2 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.2982, allocations: 0.6963 MB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.441e-05/0.2982, allocations: 7.984 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.2983, allocations: 11.44 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2983, allocations: 0 / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.004364/0.3026, allocations: 1.865 MB / 1.078 GB, free: 248 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)