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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009043, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009069/0.000907, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.007/1.007, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 83.4 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001404/0.1528, allocations: 1.182 MB / 0.5985 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005841/0.1534, allocations: 431.4 kB / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.1535, allocations: 0 / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.257e-05/0.1536, allocations: 0 / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.1536, allocations: 11.92 kB / 0.5989 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.1538, allocations: 31.89 kB / 0.5989 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.1539, allocations: 55.92 kB / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.154, allocations: 12.19 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1541, allocations: 43.83 kB / 0.5991 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.1542, allocations: 31.89 kB / 0.5991 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1542, allocations: 4 kB / 0.5991 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.1543, allocations: 4 kB / 0.5991 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.1543, allocations: 11.92 kB / 0.5991 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.1543, allocations: 41.7 kB / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.349e-05/0.1544, allocations: 56.16 kB / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1544, allocations: 3.938 kB / 0.5992 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1544, allocations: 0 / 0.5992 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1545, allocations: 0 / 0.5992 GB, free: 5.875 MB / 0.4981 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.0005678/0.155, allocations: 442.5 kB / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1551, allocations: 8.031 kB / 0.5996 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.1551, allocations: 38.56 kB / 0.5997 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1552, allocations: 7.906 kB / 0.5997 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1553, allocations: 190.8 kB / 0.5999 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1553, allocations: 8 kB / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1554, allocations: 8 kB / 0.5999 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1557, allocations: 113.6 kB / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1557, allocations: 8 kB / 0.6 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1557, allocations: 0 / 0.6 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1557, allocations: 0 / 0.6 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.156, allocations: 103.9 kB / 0.6001 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.1565, allocations: 344.8 kB / 0.6004 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.1568, allocations: 122.5 kB / 0.6005 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1568, allocations: 4.062 kB / 0.6005 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.1571, allocations: 139.3 kB / 0.6007 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1571, allocations: 0 / 0.6007 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006577/0.1578, allocations: 299.1 kB / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1579, allocations: 81.11 kB / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.1579, allocations: 129.8 kB / 0.6012 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.158, allocations: 33.64 kB / 0.6012 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.158, allocations: 96.05 kB / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1581, allocations: 23.73 kB / 0.6013 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.1581, allocations: 4 kB / 0.6013 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.1582, allocations: 318.8 kB / 0.6016 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.1584, allocations: 79.88 kB / 0.6017 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1585, allocations: 75.94 kB / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1587, allocations: 111.4 kB / 0.6019 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1587, allocations: 0 / 0.6019 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004624/0.1592, allocations: 276.8 kB / 0.6021 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.1593, allocations: 67.39 kB / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1593, allocations: 0 / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1593, allocations: 0 / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1594, allocations: 15.98 kB / 0.6022 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1594, allocations: 7.953 kB / 0.6022 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1596, allocations: 27.97 kB / 0.6022 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1596, allocations: 8.25 kB / 0.6023 GB, free: 2.461 MB / 0.4981 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.0001033/0.1597, allocations: 155.5 kB / 0.6024 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1597, allocations: 11.91 kB / 0.6024 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.1598, allocations: 12.38 kB / 0.6024 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1598, allocations: 4 kB / 0.6024 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1598, allocations: 0 / 0.6024 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1598, allocations: 3.953 kB / 0.6024 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1599, allocations: 197.7 kB / 0.6026 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1599, allocations: 0 / 0.6026 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.16, allocations: 15.98 kB / 0.6026 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.16, allocations: 0 / 0.6026 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.1601, allocations: 4 kB / 0.6026 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1601, allocations: 4.031 kB / 0.6026 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1601, allocations: 11.92 kB / 0.6027 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.1605, allocations: 262.5 kB / 0.6029 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1606, allocations: 92.94 kB / 0.603 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.1606, allocations: 4 kB / 0.603 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1608, allocations: 27.97 kB / 0.603 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1609, allocations: 35.95 kB / 0.6031 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1609, allocations: 0 / 0.6031 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.222e-05/0.161, allocations: 105.9 kB / 0.6032 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.161, allocations: 0 / 0.6032 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002018/0.1612, allocations: 28 kB / 0.6032 GB, free: 1.395 MB / 0.4981 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.0006794/0.1619, allocations: 0.7975 MB / 0.604 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.1623, allocations: 282.7 kB / 0.6042 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1623, allocations: 0 / 0.6042 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.1626, allocations: 143.3 kB / 0.6044 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1627, allocations: 15.98 kB / 0.6044 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2926/0.4554, allocations: 0.7749 MB / 0.6051 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4556, allocations: 0.6959 MB / 0.6058 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.742e-05/0.4556, allocations: 9.812 kB / 0.6058 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.4557, allocations: 24.11 kB / 0.6059 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.4557, allocations: 0 / 0.6059 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.4673, allocations: 2.492 MB / 0.6083 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/0.4675, allocations: 193.3 kB / 0.6085 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.206, allocations: 6.719 kB / 0.6085 GB, free: 39.84 MB / 0.4981 GB (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) Environment - environmentSimulation: