Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7153/0.7153, allocations: 127.4 MB / 134.9 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 172.9 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009692/0.000969, allocations: 94.44 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.279e-05/1.244e-05, allocations: 0 / 0.5466 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 76.77 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.286, allocations: 102.8 MB / 0.722 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.2862, allocations: 83.95 kB / 0.722 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004543/0.2908, allocations: 1.493 MB / 0.7235 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2908, allocations: 4 kB / 0.7235 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2908, allocations: 4 kB / 0.7235 GB, free: 2.57 MB / 0.4948 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.0005031/0.2914, allocations: 433.6 kB / 0.7239 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2914, allocations: 8.031 kB / 0.7239 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2914, allocations: 11.95 kB / 0.7239 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.2916, allocations: 193.6 kB / 0.7241 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2917, allocations: 7.984 kB / 0.7241 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.2917, allocations: 7.938 kB / 0.7241 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.2918, allocations: 48.19 kB / 0.7242 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.292, allocations: 93.58 kB / 0.7243 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.292, allocations: 0 / 0.7243 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.292, allocations: 4 kB / 0.7243 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2921, allocations: 3.953 kB / 0.7243 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.2926, allocations: 309.3 kB / 0.7246 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2927, allocations: 70.56 kB / 0.7246 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.2928, allocations: 52.97 kB / 0.7247 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2928, allocations: 0 / 0.7247 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.293, allocations: 111.3 kB / 0.7248 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.293, allocations: 0 / 0.7248 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000276/0.2933, allocations: 141.5 kB / 0.7249 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2934, allocations: 85.11 kB / 0.725 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.2935, allocations: 116.9 kB / 0.7251 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2935, allocations: 29.7 kB / 0.7252 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.2935, allocations: 88.14 kB / 0.7252 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2936, allocations: 19.81 kB / 0.7253 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.2936, allocations: 12 kB / 0.7253 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.2937, allocations: 310.8 kB / 0.7256 GB, free: 252 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.2938, allocations: 51.97 kB / 0.7256 GB, free: 200 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.2939, allocations: 47.92 kB / 0.7257 GB, free: 152 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.2939, allocations: 23.98 kB / 0.7257 GB, free: 128 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2939, allocations: 0 / 0.7257 GB, free: 128 kB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002448/0.2942, allocations: 153.6 kB / 0.7258 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.2942, allocations: 63.39 kB / 0.7259 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2942, allocations: 0 / 0.7259 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2942, allocations: 4.094 kB / 0.7259 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2944, allocations: 27.81 kB / 0.7259 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2944, allocations: 4 kB / 0.7259 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2946, allocations: 27.89 kB / 0.7259 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.2946, allocations: 7.984 kB / 0.726 GB, free: 15.82 MB / 0.5105 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 9.499e-05/0.2947, allocations: 144.8 kB / 0.7261 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.2947, allocations: 8 kB / 0.7261 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.2948, allocations: 8.625 kB / 0.7261 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2948, allocations: 0 / 0.7261 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.2948, allocations: 7.938 kB / 0.7261 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2948, allocations: 4 kB / 0.7261 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2949, allocations: 162.1 kB / 0.7263 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2949, allocations: 0 / 0.7263 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.295, allocations: 19.98 kB / 0.7263 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.295, allocations: 0 / 0.7263 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.295, allocations: 11.98 kB / 0.7263 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2951, allocations: 0 / 0.7263 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2951, allocations: 0 / 0.7263 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.2953, allocations: 169 kB / 0.7265 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.2953, allocations: 88.89 kB / 0.7266 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2954, allocations: 4 kB / 0.7266 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2955, allocations: 36.09 kB / 0.7266 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2957, allocations: 35.95 kB / 0.7266 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2957, allocations: 4 kB / 0.7266 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.2957, allocations: 102.1 kB / 0.7267 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2957, allocations: 0 / 0.7267 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002/0.2959, allocations: 24 kB / 0.7267 GB, free: 14.93 MB / 0.5105 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) * 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.0001138/0.2961, allocations: 103.2 kB / 0.7268 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.2963, allocations: 218.7 kB / 0.7271 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2963, allocations: 0 / 0.7271 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2965, allocations: 119.4 kB / 0.7272 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2966, allocations: 15.94 kB / 0.7272 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.297, allocations: 136.5 kB / 0.7273 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2972, allocations: 0.7041 MB / 0.728 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.11e-05/0.2972, allocations: 8.172 kB / 0.728 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.2973, allocations: 11.44 kB / 0.728 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of SimCode: time 2e-07/0.2973, allocations: 0 / 0.728 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.003326/0.3006, allocations: 1.423 MB / 0.7294 GB, free: 12.11 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)