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.001655/0.001655, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5362/0.5362, allocations: 91.99 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 354.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.14 kB / 427.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 12 kB / 0.4983 GB, free: 41.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 72.31 MB / 0.5689 GB, free: 1.559 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.6206, allocations: 102.5 MB / 0.669 GB, free: 1.805 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.6208, allocations: 67.97 kB / 0.669 GB, free: 1.738 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004624/0.6255, allocations: 1.563 MB / 0.6706 GB, free: 192 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6255, allocations: 0 / 0.6706 GB, free: 192 kB / 458.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.6255, allocations: 0 / 0.6706 GB, free: 192 kB / 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.0005399/0.6261, allocations: 460.6 kB / 0.671 GB, free: 15.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6261, allocations: 8.031 kB / 0.671 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.6262, allocations: 49.75 kB / 0.6711 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.6262, allocations: 7.906 kB / 0.6711 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.6264, allocations: 183 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6264, allocations: 4 kB / 0.6712 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.6264, allocations: 8 kB / 0.6713 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.6267, allocations: 129.6 kB / 0.6714 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6267, allocations: 3.984 kB / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6268, allocations: 0 / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6268, allocations: 3.953 kB / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.6271, allocations: 107.9 kB / 0.6715 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.6276, allocations: 340.8 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.6279, allocations: 114.5 kB / 0.6719 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.6279, allocations: 7.984 kB / 0.6719 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.6282, allocations: 143.2 kB / 0.6721 GB, free: 14.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6282, allocations: 0 / 0.6721 GB, free: 14.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006636/0.6289, allocations: 291.3 kB / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6289, allocations: 81.09 kB / 0.6724 GB, free: 14.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.629, allocations: 130.4 kB / 0.6725 GB, free: 13.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.629, allocations: 25.7 kB / 0.6726 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.6291, allocations: 92.12 kB / 0.6727 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.6291, allocations: 15.81 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.6291, allocations: 8 kB / 0.6727 GB, free: 13.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.6292, allocations: 314.8 kB / 0.673 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.6294, allocations: 75.95 kB / 0.6731 GB, free: 13.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.6296, allocations: 83.91 kB / 0.6731 GB, free: 13.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.6298, allocations: 115.3 kB / 0.6732 GB, free: 13.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6298, allocations: 0 / 0.6732 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004675/0.6303, allocations: 264.9 kB / 0.6735 GB, free: 12.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.6304, allocations: 71.34 kB / 0.6736 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6304, allocations: 4 kB / 0.6736 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.6304, allocations: 0 / 0.6736 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6305, allocations: 19.92 kB / 0.6736 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.6305, allocations: 4 kB / 0.6736 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.6307, allocations: 35.91 kB / 0.6736 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.6307, allocations: 8 kB / 0.6736 GB, free: 12.77 MB / 474.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 () * 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.0001077/0.6308, allocations: 147.5 kB / 0.6738 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.6308, allocations: 11.91 kB / 0.6738 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.6309, allocations: 16.33 kB / 0.6738 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6309, allocations: 3.5 kB / 0.6738 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6309, allocations: 0 / 0.6738 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6309, allocations: 0 / 0.6738 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.6311, allocations: 193.5 kB / 0.674 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6311, allocations: 0 / 0.674 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.6312, allocations: 19.98 kB / 0.674 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6312, allocations: 0 / 0.674 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6313, allocations: 4 kB / 0.674 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6313, allocations: 7.938 kB / 0.674 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6313, allocations: 0 / 0.674 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.6317, allocations: 262.6 kB / 0.6743 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.6318, allocations: 85.02 kB / 0.6744 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.6318, allocations: 8 kB / 0.6744 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.632, allocations: 27.97 kB / 0.6744 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6321, allocations: 40 kB / 0.6744 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.6321, allocations: 7.938 kB / 0.6744 GB, free: 11.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.6322, allocations: 99.97 kB / 0.6745 GB, free: 11.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6322, allocations: 0 / 0.6745 GB, free: 11.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.6324, allocations: 24 kB / 0.6746 GB, free: 11.72 MB / 474.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) * 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.0007005/0.6331, allocations: 0.7936 MB / 0.6753 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.6336, allocations: 278.7 kB / 0.6756 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6336, allocations: 4 kB / 0.6756 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.6338, allocations: 147.7 kB / 0.6757 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.634, allocations: 15.94 kB / 0.6758 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.6354, allocations: 0.7944 MB / 0.6765 GB, free: 9.574 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.6356, allocations: 0.6926 MB / 0.6772 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.6356, allocations: 8.172 kB / 0.6772 GB, free: 8.848 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.6357, allocations: 27.42 kB / 0.6772 GB, free: 8.82 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6357, allocations: 0 / 0.6772 GB, free: 8.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.6493, allocations: 2.494 MB / 0.6797 GB, free: 6.473 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.6496, allocations: 180.2 kB / 0.6798 GB, free: 6.234 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.31, allocations: 0 / 0.6798 GB, free: 6.234 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)