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.7715/0.7715, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.00119/0.00119, allocations: 188.8 kB / 173.8 MB, free: 6.109 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.702/1.702, allocations: 205.4 MB / 409 MB, free: 10.51 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.000926/0.000926, allocations: 100.8 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 11.84 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1654, allocations: 76.76 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.3013, allocations: 103.6 MB / 0.7365 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.3016, allocations: 75.95 kB / 0.7366 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004877/0.3065, allocations: 1.516 MB / 0.738 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3065, allocations: 3.938 kB / 0.738 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3065, allocations: 0 / 0.738 GB, free: 5.23 MB / 0.5105 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.0006111/0.3072, allocations: 446.4 kB / 0.7385 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3072, allocations: 12.03 kB / 0.7385 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.3073, allocations: 15.86 kB / 0.7385 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3075, allocations: 199.1 kB / 0.7387 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3076, allocations: 4 kB / 0.7387 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3076, allocations: 8 kB / 0.7387 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3079, allocations: 117.6 kB / 0.7388 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3079, allocations: 0 / 0.7388 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.308, allocations: 4 kB / 0.7388 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.308, allocations: 0 / 0.7388 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3083, allocations: 107.9 kB / 0.7389 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.3089, allocations: 344.6 kB / 0.7392 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.3092, allocations: 122.5 kB / 0.7394 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3093, allocations: 3.984 kB / 0.7394 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.3096, allocations: 135.4 kB / 0.7395 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3096, allocations: 0 / 0.7395 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0007719/0.3104, allocations: 307.1 kB / 0.7398 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3104, allocations: 85.17 kB / 0.7399 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.3105, allocations: 117 kB / 0.74 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3106, allocations: 25.7 kB / 0.74 GB, free: 3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.3106, allocations: 96.03 kB / 0.7401 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3107, allocations: 19.75 kB / 0.7401 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.3107, allocations: 8 kB / 0.7401 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3108, allocations: 318.8 kB / 0.7404 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.311, allocations: 71.95 kB / 0.7405 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3112, allocations: 79.94 kB / 0.7406 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3114, allocations: 111.4 kB / 0.7407 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3115, allocations: 0 / 0.7407 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005131/0.312, allocations: 280.9 kB / 0.7409 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.312, allocations: 63.41 kB / 0.741 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.312, allocations: 0 / 0.741 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3121, allocations: 3.953 kB / 0.741 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3122, allocations: 19.98 kB / 0.741 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3122, allocations: 3.984 kB / 0.741 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3124, allocations: 31.98 kB / 0.7411 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3124, allocations: 4 kB / 0.7411 GB, free: 1.855 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 () * 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.0001239/0.3125, allocations: 153.6 kB / 0.7412 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3126, allocations: 15.91 kB / 0.7412 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.3126, allocations: 4.375 kB / 0.7412 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3126, allocations: 3.953 kB / 0.7412 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3126, allocations: 7.938 kB / 0.7412 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3126, allocations: 0 / 0.7412 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3128, allocations: 193.6 kB / 0.7414 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3128, allocations: 0 / 0.7414 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.3129, allocations: 15.98 kB / 0.7414 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3129, allocations: 3.984 kB / 0.7414 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3129, allocations: 4 kB / 0.7414 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3129, allocations: 0 / 0.7414 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3129, allocations: 3.953 kB / 0.7415 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.3135, allocations: 262.6 kB / 0.7417 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3135, allocations: 89.02 kB / 0.7418 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3136, allocations: 4 kB / 0.7418 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.3137, allocations: 27.97 kB / 0.7418 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3138, allocations: 35.95 kB / 0.7419 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3139, allocations: 7.953 kB / 0.7419 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.3139, allocations: 101.4 kB / 0.742 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3139, allocations: 4 kB / 0.742 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002007/0.3141, allocations: 24 kB / 0.742 GB, free: 0.8086 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) * 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.0001336/0.3143, allocations: 107 kB / 0.7421 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.3148, allocations: 279 kB / 0.7423 GB, free: 408 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3148, allocations: 3.938 kB / 0.7424 GB, free: 404 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.3151, allocations: 143.4 kB / 0.7425 GB, free: 248 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.3153, allocations: 7.984 kB / 0.7425 GB, free: 240 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2732/0.5884, allocations: 245.3 kB / 0.7427 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.5886, allocations: 0.6933 MB / 0.7434 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.859e-05/0.5887, allocations: 8.672 kB / 0.7434 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.5888, allocations: 15.42 kB / 0.7434 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.5888, allocations: 0 / 0.7434 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.003541/0.5923, allocations: 1.538 MB / 0.7449 GB, free: 109.1 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)