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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00179/0.00179, allocations: 198 kB / 16.14 MB, free: 6.637 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 61.38 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 159.9 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002551/0.3263, allocations: 1.543 MB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.3271, allocations: 466.8 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.3271, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.3272, allocations: 7.922 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3273, allocations: 3.938 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3275, allocations: 39.89 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3276, allocations: 87.75 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.3277, allocations: 16.17 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3278, allocations: 43.84 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.3279, allocations: 39.81 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3279, allocations: 8 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.3279, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.328, allocations: 7.984 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.328, allocations: 39.8 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3282, allocations: 75.75 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3282, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3282, allocations: 4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.3282, allocations: 4 kB / 1.07 GB, free: 8.582 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.0006488/0.3288, allocations: 452.9 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3289, allocations: 8.031 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.3289, allocations: 8.938 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3291, allocations: 196 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3291, allocations: 4.375 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3292, allocations: 8.375 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.3295, allocations: 125.7 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3295, allocations: 3.938 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3295, allocations: 3.984 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3295, allocations: 4 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.3298, allocations: 83.92 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.3304, allocations: 336.7 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3308, allocations: 106.5 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.331, allocations: 68.94 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.331, allocations: 8 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.3313, allocations: 119.3 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3313, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0008804/0.3322, allocations: 279.1 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.3323, allocations: 89.09 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3325, allocations: 123.8 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.3325, allocations: 33.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3326, allocations: 100 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3326, allocations: 15.75 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.3327, allocations: 33.7 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3329, allocations: 322.8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.3332, allocations: 71.89 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3335, allocations: 63.95 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.334, allocations: 181.8 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.334, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006811/0.3347, allocations: 264.9 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.3348, allocations: 63.5 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3348, allocations: 3.938 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3348, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.335, allocations: 23.91 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.335, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3351, allocations: 15.98 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.3352, allocations: 4 kB / 1.073 GB, free: 5.133 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.0001189/0.3353, allocations: 163.5 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.3353, allocations: 7.906 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.3354, allocations: 8.375 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3354, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3354, allocations: 3.984 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3354, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3355, allocations: 193.6 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3355, allocations: 3.984 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.3356, allocations: 20.23 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3356, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3357, allocations: 8 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3357, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3357, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.3362, allocations: 250.5 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3362, allocations: 88.95 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.3363, allocations: 4 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3364, allocations: 23.97 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3365, allocations: 35.95 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3366, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.3366, allocations: 99.27 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3366, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002145/0.3368, allocations: 27.94 kB / 1.074 GB, free: 4.102 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.0001105/0.337, allocations: 107.2 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005888/0.3376, allocations: 266.6 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3376, allocations: 3.938 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.3379, allocations: 139.4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3381, allocations: 18.91 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.3387, allocations: 221.1 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3389, allocations: 0.6887 MB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.846e-05/0.339, allocations: 11.98 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.339, allocations: 15.38 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3391, allocations: 0 / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.004464/0.3435, allocations: 1.598 MB / 1.077 GB, free: 0.9609 MB / 0.8262 GB 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)