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.001082/0.001082, allocations: 91.84 kB / 16.02 MB, free: 80 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.001843/0.001843, allocations: 182.6 kB / 16.92 MB, free: 6.652 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.344 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 1.006/1.006, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 8 kB / 0.517 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 83.4 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001718/0.1751, allocations: 1.202 MB / 0.5997 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.176, allocations: 447 kB / 0.6001 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.1761, allocations: 4 kB / 0.6001 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.1762, allocations: 4 kB / 0.6001 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.1762, allocations: 19.78 kB / 0.6001 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1764, allocations: 27.97 kB / 0.6001 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1766, allocations: 91.77 kB / 0.6002 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1767, allocations: 8.188 kB / 0.6002 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1769, allocations: 43.83 kB / 0.6003 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.177, allocations: 39.89 kB / 0.6003 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.177, allocations: 4 kB / 0.6003 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.1771, allocations: 7.938 kB / 0.6003 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.1771, allocations: 15.92 kB / 0.6003 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.1772, allocations: 65.48 kB / 0.6004 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1773, allocations: 43.89 kB / 0.6004 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1773, allocations: 0 / 0.6004 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1773, allocations: 0 / 0.6004 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1773, allocations: 0 / 0.6004 GB, free: 5.672 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.0007012/0.178, allocations: 446.9 kB / 0.6009 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1781, allocations: 8.031 kB / 0.6009 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.1781, allocations: 8.844 kB / 0.6009 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1783, allocations: 196.2 kB / 0.6011 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1784, allocations: 384 / 0.6011 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1784, allocations: 8.375 kB / 0.6011 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.1787, allocations: 125.8 kB / 0.6012 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1788, allocations: 3.984 kB / 0.6012 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1788, allocations: 4 kB / 0.6012 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1788, allocations: 3.938 kB / 0.6012 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1791, allocations: 107.9 kB / 0.6013 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.1797, allocations: 340.7 kB / 0.6016 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1801, allocations: 114.5 kB / 0.6018 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1803, allocations: 88.94 kB / 0.6018 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1803, allocations: 0 / 0.6018 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.1807, allocations: 131.3 kB / 0.602 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1807, allocations: 4 kB / 0.602 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007499/0.1815, allocations: 299.2 kB / 0.6023 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1815, allocations: 85.11 kB / 0.6023 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.1816, allocations: 124.2 kB / 0.6025 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1817, allocations: 33.7 kB / 0.6025 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.1817, allocations: 96.06 kB / 0.6026 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1818, allocations: 19.75 kB / 0.6026 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1818, allocations: 17.72 kB / 0.6026 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.1819, allocations: 334.7 kB / 0.6029 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.1821, allocations: 67.95 kB / 0.603 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1823, allocations: 75.89 kB / 0.6031 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.1827, allocations: 197.9 kB / 0.6033 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1827, allocations: 0 / 0.6033 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005236/0.1832, allocations: 280.8 kB / 0.6035 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.1833, allocations: 67.39 kB / 0.6036 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1833, allocations: 0 / 0.6036 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1834, allocations: 0 / 0.6036 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1835, allocations: 19.98 kB / 0.6036 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/0.1835, allocations: 4 kB / 0.6036 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1837, allocations: 31.88 kB / 0.6036 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1837, allocations: 0 / 0.6036 GB, free: 2.105 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.0001253/0.1838, allocations: 159.5 kB / 0.6038 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1839, allocations: 11.98 kB / 0.6038 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.1839, allocations: 12.38 kB / 0.6038 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1839, allocations: 3.938 kB / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1839, allocations: 0 / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1839, allocations: 0 / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1841, allocations: 201.5 kB / 0.604 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1841, allocations: 0 / 0.604 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.1842, allocations: 19.98 kB / 0.604 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1842, allocations: 0 / 0.604 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1842, allocations: 8 kB / 0.604 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1843, allocations: 0 / 0.604 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1843, allocations: 160 / 0.604 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.1848, allocations: 258.9 kB / 0.6043 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1848, allocations: 93.03 kB / 0.6044 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1849, allocations: 12 kB / 0.6044 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.185, allocations: 23.98 kB / 0.6044 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1852, allocations: 35.95 kB / 0.6044 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1852, allocations: 8 kB / 0.6045 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.1853, allocations: 107.2 kB / 0.6046 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1853, allocations: 0 / 0.6046 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.1855, allocations: 23.94 kB / 0.6046 GB, free: 1.035 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 0.0001226/0.1856, allocations: 109.2 kB / 0.6047 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.1862, allocations: 282.6 kB / 0.605 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1862, allocations: 0 / 0.605 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.1865, allocations: 147.3 kB / 0.6051 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1867, allocations: 16 kB / 0.6051 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.1873, allocations: 270.8 kB / 0.6054 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2725/0.4598, allocations: 0.6928 MB / 0.606 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.4599, allocations: 9.812 kB / 0.6061 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.4599, allocations: 0 / 0.6061 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002805/0.4627, allocations: 1.412 MB / 0.6074 GB, free: 40.7 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)