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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.729/0.729, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 180.8 kB / 169.7 MB, free: 1.73 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.756/1.756, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009415/0.0009413, allocations: 86.47 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.864e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 76.75 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.635, allocations: 103.5 MB / 0.7293 GB, free: 9.832 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.6353, allocations: 73.09 kB / 0.7294 GB, free: 9.793 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005004/0.6403, allocations: 1.506 MB / 0.7309 GB, free: 8.477 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6404, allocations: 0 / 0.7309 GB, free: 8.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.6404, allocations: 0 / 0.7309 GB, free: 8.477 MB / 490.7 MB 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.000607/0.641, allocations: 439.7 kB / 0.7313 GB, free: 8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.6411, allocations: 11.97 kB / 0.7313 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.6411, allocations: 41 kB / 0.7313 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.6412, allocations: 15.94 kB / 0.7314 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.6414, allocations: 190.3 kB / 0.7315 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.6414, allocations: 7.188 kB / 0.7315 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.6415, allocations: 4 kB / 0.7315 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.6417, allocations: 92.52 kB / 0.7316 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.6417, allocations: 0 / 0.7316 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.6417, allocations: 4 kB / 0.7316 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.6417, allocations: 7.891 kB / 0.7316 GB, free: 7.609 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.6419, allocations: 56.92 kB / 0.7317 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.6425, allocations: 338.1 kB / 0.732 GB, free: 7.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6426, allocations: 76 kB / 0.7321 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.6427, allocations: 50.78 kB / 0.7321 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.6427, allocations: 4 kB / 0.7321 GB, free: 7.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.6429, allocations: 111.5 kB / 0.7323 GB, free: 7.004 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.643, allocations: 0 / 0.7323 GB, free: 7.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003956/0.6434, allocations: 175 kB / 0.7324 GB, free: 6.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.6434, allocations: 83.8 kB / 0.7325 GB, free: 6.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.6435, allocations: 119.5 kB / 0.7326 GB, free: 6.637 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.6436, allocations: 28.77 kB / 0.7326 GB, free: 6.605 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.6436, allocations: 95.56 kB / 0.7327 GB, free: 6.512 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.6437, allocations: 26.94 kB / 0.7328 GB, free: 6.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.6437, allocations: 6.5 kB / 0.7328 GB, free: 6.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6438, allocations: 317.8 kB / 0.7331 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.6439, allocations: 45.12 kB / 0.7331 GB, free: 6.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.644, allocations: 50.48 kB / 0.7332 GB, free: 6.102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.6441, allocations: 84.14 kB / 0.7332 GB, free: 6.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6441, allocations: 4 kB / 0.7332 GB, free: 6.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003107/0.6445, allocations: 218.3 kB / 0.7334 GB, free: 5.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.6445, allocations: 63.36 kB / 0.7335 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6445, allocations: 4 kB / 0.7335 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6446, allocations: 7.922 kB / 0.7335 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.6447, allocations: 23.97 kB / 0.7335 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6447, allocations: 256 / 0.7335 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.6449, allocations: 36.45 kB / 0.7336 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.6449, allocations: 11.98 kB / 0.7336 GB, free: 5.664 MB / 490.7 MB 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 0.000106/0.645, allocations: 145.4 kB / 0.7337 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.6451, allocations: 4 kB / 0.7337 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.6451, allocations: 15.7 kB / 0.7337 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.6451, allocations: 0 / 0.7337 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6451, allocations: 0 / 0.7337 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6451, allocations: 0 / 0.7337 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.6453, allocations: 195.3 kB / 0.7339 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6453, allocations: 4.062 kB / 0.7339 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.6454, allocations: 19.98 kB / 0.734 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6454, allocations: 3.984 kB / 0.734 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.6455, allocations: 4 kB / 0.734 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6455, allocations: 3.953 kB / 0.734 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6455, allocations: 0 / 0.734 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.6458, allocations: 202.3 kB / 0.7342 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.6458, allocations: 92.94 kB / 0.7342 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.6459, allocations: 7.938 kB / 0.7343 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.646, allocations: 23.98 kB / 0.7343 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.6462, allocations: 45.39 kB / 0.7343 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.6462, allocations: 0 / 0.7343 GB, free: 4.875 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.6463, allocations: 98.91 kB / 0.7344 GB, free: 4.785 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6463, allocations: 0 / 0.7344 GB, free: 4.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.6465, allocations: 27.38 kB / 0.7344 GB, free: 4.762 MB / 490.7 MB 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.0006447/0.6472, allocations: 0.7547 MB / 0.7352 GB, free: 4.004 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.6474, allocations: 222.3 kB / 0.7354 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6475, allocations: 0 / 0.7354 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.6476, allocations: 123.9 kB / 0.7355 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.6478, allocations: 18.58 kB / 0.7355 GB, free: 3.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.6484, allocations: 186.4 kB / 0.7357 GB, free: 3.469 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6487, allocations: 0.6965 MB / 0.7364 GB, free: 2.746 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.6488, allocations: 4.188 kB / 0.7364 GB, free: 2.738 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.6488, allocations: 25.98 kB / 0.7364 GB, free: 2.719 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6488, allocations: 0 / 0.7364 GB, free: 2.719 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.6632, allocations: 2.511 MB / 0.7389 GB, free: 356 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.6635, allocations: 163.3 kB / 0.739 GB, free: 128 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.366, allocations: 0 / 0.739 GB, free: 128 kB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)