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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 195.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9537/0.9537, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 0.5141 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1529, allocations: 82.03 MB / 0.5943 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002445/0.1554, allocations: 1.47 MB / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.1561, allocations: 462.9 kB / 0.5961 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.1562, allocations: 0 / 0.5961 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.468e-05/0.1563, allocations: 3.938 kB / 0.5961 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.1563, allocations: 19.84 kB / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1565, allocations: 43.89 kB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1567, allocations: 91.83 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.1568, allocations: 16.16 kB / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1569, allocations: 55.78 kB / 0.5964 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.157, allocations: 39.89 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.157, allocations: 8 kB / 0.5964 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.1571, allocations: 11.94 kB / 0.5964 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.1571, allocations: 7.984 kB / 0.5964 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.1572, allocations: 43.78 kB / 0.5965 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1573, allocations: 79.77 kB / 0.5965 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1573, allocations: 0 / 0.5965 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.1573, allocations: 4 kB / 0.5965 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.1573, allocations: 0 / 0.5965 GB, free: 7.227 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.0006673/0.158, allocations: 450.8 kB / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.158, allocations: 12.03 kB / 0.597 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1581, allocations: 8.844 kB / 0.597 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1583, allocations: 197.8 kB / 0.5972 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1583, allocations: 8.312 kB / 0.5972 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1583, allocations: 8.375 kB / 0.5972 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1586, allocations: 121.7 kB / 0.5973 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1587, allocations: 0 / 0.5973 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1587, allocations: 4 kB / 0.5973 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1587, allocations: 4 kB / 0.5973 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.159, allocations: 83.92 kB / 0.5974 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.1595, allocations: 332.8 kB / 0.5977 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1598, allocations: 106.5 kB / 0.5978 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.16, allocations: 68.94 kB / 0.5979 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.16, allocations: 4 kB / 0.5979 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.1603, allocations: 123.3 kB / 0.598 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.1603, allocations: 3.984 kB / 0.598 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000675/0.161, allocations: 275.1 kB / 0.5983 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1611, allocations: 93.16 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.1612, allocations: 129.8 kB / 0.5985 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1612, allocations: 29.7 kB / 0.5985 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.1613, allocations: 100 kB / 0.5986 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1613, allocations: 19.75 kB / 0.5986 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.1614, allocations: 29.7 kB / 0.5987 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.1615, allocations: 322.8 kB / 0.599 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1617, allocations: 67.95 kB / 0.599 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1618, allocations: 63.95 kB / 0.5991 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1622, allocations: 185.8 kB / 0.5993 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1622, allocations: 7.938 kB / 0.5993 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004939/0.1627, allocations: 257 kB / 0.5995 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.1628, allocations: 64.97 kB / 0.5996 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1628, allocations: 4.078 kB / 0.5996 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1628, allocations: 0 / 0.5996 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1629, allocations: 23.91 kB / 0.5996 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1629, allocations: 3.984 kB / 0.5996 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1631, allocations: 15.98 kB / 0.5996 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1631, allocations: 8 kB / 0.5996 GB, free: 3.766 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.1632, allocations: 155.5 kB / 0.5998 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1633, allocations: 15.91 kB / 0.5998 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.1633, allocations: 12.38 kB / 0.5998 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1633, allocations: 0 / 0.5998 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1633, allocations: 3.984 kB / 0.5998 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1633, allocations: 0 / 0.5998 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1635, allocations: 189.6 kB / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1635, allocations: 3.984 kB / 0.6 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.1636, allocations: 11.98 kB / 0.6 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1636, allocations: 0 / 0.6 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1636, allocations: 4.25 kB / 0.6 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1636, allocations: 4 kB / 0.6 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1636, allocations: 4 kB / 0.6 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.1641, allocations: 250.5 kB / 0.6003 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.1641, allocations: 84.95 kB / 0.6003 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1641, allocations: 8 kB / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1643, allocations: 23.97 kB / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1644, allocations: 35.95 kB / 0.6004 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1644, allocations: 4 kB / 0.6004 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.1645, allocations: 97.8 kB / 0.6005 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1645, allocations: 0 / 0.6005 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002029/0.1647, allocations: 31.94 kB / 0.6005 GB, free: 2.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.63e-05/0.1648, allocations: 95.25 kB / 0.6006 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.1653, allocations: 274.6 kB / 0.6009 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1653, allocations: 0 / 0.6009 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.1656, allocations: 143.3 kB / 0.601 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1658, allocations: 15.98 kB / 0.601 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1663, allocations: 223.1 kB / 0.6012 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1665, allocations: 0.6954 MB / 0.6019 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.957e-05/0.1666, allocations: 15.92 kB / 0.6019 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.1666, allocations: 11.44 kB / 0.602 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1666, allocations: 0 / 0.602 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.2254/0.3921, allocations: 1.846 MB / 0.6038 GB, free: 43.97 MB / 0.4981 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)