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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6567/0.6567, allocations: 117.9 MB / 133.9 MB, free: 4.523 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.0009944/0.0009944, allocations: 180.3 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 394.8 MB, free: 20.86 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.000752/0.000752, allocations: 98.27 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 16 kB / 0.5423 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3714, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.5007, allocations: 102.5 MB / 0.7152 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.501, allocations: 75.94 kB / 0.7153 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004974/0.506, allocations: 1.529 MB / 0.7168 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.316e-06/0.506, allocations: 0 / 0.7168 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.5061, allocations: 0 / 0.7168 GB, free: 13.87 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.0005941/0.5067, allocations: 446.7 kB / 0.7172 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5067, allocations: 8.031 kB / 0.7172 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.5068, allocations: 12.84 kB / 0.7172 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.507, allocations: 192.2 kB / 0.7174 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.507, allocations: 4.375 kB / 0.7174 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5071, allocations: 8.375 kB / 0.7174 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.5074, allocations: 126.3 kB / 0.7175 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5074, allocations: 4.188 kB / 0.7175 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.5074, allocations: 7.922 kB / 0.7175 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5075, allocations: 4 kB / 0.7176 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.5077, allocations: 107.9 kB / 0.7177 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.5083, allocations: 340.7 kB / 0.718 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.5087, allocations: 122.5 kB / 0.7181 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.5088, allocations: 80.88 kB / 0.7182 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5089, allocations: 0 / 0.7182 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.5092, allocations: 131.3 kB / 0.7183 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5092, allocations: 0 / 0.7183 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0007083/0.5099, allocations: 299.2 kB / 0.7186 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.51, allocations: 89.05 kB / 0.7187 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5101, allocations: 126.9 kB / 0.7188 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.5101, allocations: 33.7 kB / 0.7188 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.5102, allocations: 96.03 kB / 0.7189 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.5102, allocations: 11.91 kB / 0.7189 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.5102, allocations: 4 kB / 0.7189 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5103, allocations: 326.8 kB / 0.7192 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.5105, allocations: 71.95 kB / 0.7193 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.5107, allocations: 71.95 kB / 0.7194 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.5111, allocations: 197.9 kB / 0.7196 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5111, allocations: 3.938 kB / 0.7196 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004751/0.5116, allocations: 280.9 kB / 0.7198 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.5116, allocations: 63.41 kB / 0.7199 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5116, allocations: 0 / 0.7199 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.5117, allocations: 4 kB / 0.7199 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5118, allocations: 20.06 kB / 0.7199 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5118, allocations: 3.938 kB / 0.7199 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5119, allocations: 27.89 kB / 0.72 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.512, allocations: 8 kB / 0.72 GB, free: 10.31 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.5121, allocations: 163.4 kB / 0.7201 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.5121, allocations: 7.906 kB / 0.7201 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.5122, allocations: 12.38 kB / 0.7201 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5122, allocations: 3.984 kB / 0.7201 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5122, allocations: 0 / 0.7201 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5122, allocations: 0 / 0.7201 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.5123, allocations: 201.5 kB / 0.7203 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5124, allocations: 0 / 0.7203 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.5124, allocations: 19.98 kB / 0.7204 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5125, allocations: 0 / 0.7204 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.5125, allocations: 4 kB / 0.7204 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5125, allocations: 0 / 0.7204 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5125, allocations: 0 / 0.7204 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.513, allocations: 266.8 kB / 0.7206 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.513, allocations: 85.09 kB / 0.7207 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.513, allocations: 4 kB / 0.7207 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5132, allocations: 31.97 kB / 0.7207 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5133, allocations: 39.89 kB / 0.7208 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5133, allocations: 4 kB / 0.7208 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.5134, allocations: 100.9 kB / 0.7209 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5134, allocations: 7.938 kB / 0.7209 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002003/0.5136, allocations: 31.91 kB / 0.7209 GB, free: 9.242 MB / 0.4948 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 (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.0001201/0.5137, allocations: 103 kB / 0.721 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.5143, allocations: 278.7 kB / 0.7213 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5143, allocations: 0 / 0.7213 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.5145, allocations: 155.3 kB / 0.7214 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.5148, allocations: 15.94 kB / 0.7214 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.5153, allocations: 233.2 kB / 0.7217 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.5156, allocations: 0.6887 MB / 0.7223 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.5156, allocations: 11.98 kB / 0.7223 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.5157, allocations: 7.438 kB / 0.7223 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.5157, allocations: 0 / 0.7223 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.003735/0.5194, allocations: 1.543 MB / 0.7238 GB, free: 6.129 MB / 0.4948 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)