Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009635/0.0009633, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4884/0.4884, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 103.4 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.675e-05, allocations: 7.984 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5494, allocations: 101.7 MB / 0.653 GB, free: 8.539 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.5497, allocations: 74.7 kB / 0.653 GB, free: 8.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00464/0.5543, allocations: 1.539 MB / 0.6545 GB, free: 7.172 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5543, allocations: 0 / 0.6545 GB, free: 7.172 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.5544, allocations: 4 kB / 0.6545 GB, free: 7.168 MB / 458.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.0005381/0.5549, allocations: 433.1 kB / 0.655 GB, free: 6.695 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.555, allocations: 11.97 kB / 0.655 GB, free: 6.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.555, allocations: 15.86 kB / 0.655 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.5553, allocations: 185.3 kB / 0.6552 GB, free: 6.453 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5553, allocations: 5.188 kB / 0.6552 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5553, allocations: 11.94 kB / 0.6552 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/0.5554, allocations: 50.36 kB / 0.6552 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.5556, allocations: 87.06 kB / 0.6553 GB, free: 6.328 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5556, allocations: 0 / 0.6553 GB, free: 6.328 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.5557, allocations: 11.94 kB / 0.6553 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.5557, allocations: 3.984 kB / 0.6553 GB, free: 6.312 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.5562, allocations: 309.8 kB / 0.6556 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.5564, allocations: 74.44 kB / 0.6557 GB, free: 5.934 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.5564, allocations: 53.16 kB / 0.6557 GB, free: 5.895 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.5565, allocations: 0 / 0.6557 GB, free: 5.895 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.5566, allocations: 111 kB / 0.6558 GB, free: 5.793 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.5566, allocations: 0 / 0.6558 GB, free: 5.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002926/0.5569, allocations: 135.2 kB / 0.656 GB, free: 5.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.557, allocations: 85.09 kB / 0.6561 GB, free: 5.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.5571, allocations: 117 kB / 0.6562 GB, free: 5.469 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.5571, allocations: 29.7 kB / 0.6562 GB, free: 5.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.5572, allocations: 98.11 kB / 0.6563 GB, free: 5.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.5572, allocations: 15.31 kB / 0.6563 GB, free: 5.328 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.5572, allocations: 4 kB / 0.6563 GB, free: 5.324 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.5573, allocations: 322.1 kB / 0.6566 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.5574, allocations: 50.67 kB / 0.6567 GB, free: 4.969 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.5575, allocations: 47.8 kB / 0.6567 GB, free: 4.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.5575, allocations: 22.89 kB / 0.6567 GB, free: 4.922 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5576, allocations: 4 kB / 0.6567 GB, free: 4.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/0.5578, allocations: 156.1 kB / 0.6569 GB, free: 4.789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.5579, allocations: 59.41 kB / 0.6569 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5579, allocations: 0 / 0.6569 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5579, allocations: 3.953 kB / 0.6569 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.558, allocations: 27.72 kB / 0.657 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.558, allocations: 0 / 0.657 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.5582, allocations: 23.98 kB / 0.657 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.5582, allocations: 4 kB / 0.657 GB, free: 4.664 MB / 458.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.0001044/0.5583, allocations: 144.5 kB / 0.6571 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002031/0.5585, allocations: 152.1 kB / 0.6573 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.5586, allocations: 11.86 kB / 0.6573 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.5586, allocations: 11.94 kB / 0.6573 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5586, allocations: 0 / 0.6573 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5586, allocations: 0 / 0.6573 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5586, allocations: 0 / 0.6573 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.5588, allocations: 168.7 kB / 0.6575 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5588, allocations: 0 / 0.6575 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.5589, allocations: 15.98 kB / 0.6575 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5589, allocations: 4 kB / 0.6575 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5589, allocations: 3.5 kB / 0.6575 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5589, allocations: 3.953 kB / 0.6575 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5589, allocations: 7.984 kB / 0.6575 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.5591, allocations: 166.6 kB / 0.6577 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.5592, allocations: 85.02 kB / 0.6577 GB, free: 3.891 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.5592, allocations: 7.625 kB / 0.6577 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.5594, allocations: 31.91 kB / 0.6578 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5595, allocations: 40.03 kB / 0.6578 GB, free: 3.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5595, allocations: 4 kB / 0.6578 GB, free: 3.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.056e-05/0.5596, allocations: 101.9 kB / 0.6579 GB, free: 3.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5596, allocations: 4 kB / 0.6579 GB, free: 3.727 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.5598, allocations: 23.94 kB / 0.6579 GB, free: 3.703 MB / 458.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.000468/0.5603, allocations: 0.7004 MB / 0.6586 GB, free: 3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.5605, allocations: 220.7 kB / 0.6588 GB, free: 2.797 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5605, allocations: 0 / 0.6588 GB, free: 2.797 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.5607, allocations: 115.3 kB / 0.6589 GB, free: 2.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.5608, allocations: 20.59 kB / 0.659 GB, free: 2.676 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.5613, allocations: 183.4 kB / 0.6591 GB, free: 2.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.5615, allocations: 0.6963 MB / 0.6598 GB, free: 1.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.5616, allocations: 4.188 kB / 0.6598 GB, free: 1.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.5617, allocations: 21.8 kB / 0.6598 GB, free: 1.734 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5617, allocations: 0 / 0.6598 GB, free: 1.734 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.5834, allocations: 2.107 MB / 0.6619 GB, free: 15.65 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.5837, allocations: 141.4 kB / 0.662 GB, free: 15.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.031, allocations: 4 kB / 0.662 GB, free: 15.45 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)