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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: 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.001319/0.001319, allocations: 106.3 kB / 16.27 MB, free: 6.418 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.00133/0.00133, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8998/0.8998, allocations: 143.3 MB / 434.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 0.5151 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3337, allocations: 82.03 MB / 0.5952 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002224/0.3359, allocations: 1.468 MB / 0.5966 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000582/0.3365, allocations: 468.3 kB / 0.597 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.3366, allocations: 4 kB / 0.5971 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.3367, allocations: 5.125 kB / 0.5971 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.539e-05/0.3368, allocations: 11.88 kB / 0.5971 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.337, allocations: 41.03 kB / 0.5971 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3371, allocations: 105.1 kB / 0.5972 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3372, allocations: 14.34 kB / 0.5972 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3373, allocations: 43.84 kB / 0.5973 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.3374, allocations: 39.88 kB / 0.5973 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.3374, allocations: 9.406 kB / 0.5973 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.3375, allocations: 8 kB / 0.5973 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3375, allocations: 15.92 kB / 0.5973 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.3376, allocations: 43.78 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3377, allocations: 77.3 kB / 0.5974 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3377, allocations: 3.938 kB / 0.5975 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3377, allocations: 0 / 0.5975 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3377, allocations: 3.938 kB / 0.5975 GB, free: 13.62 MB / 446.1 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.0005851/0.3383, allocations: 453.9 kB / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.3383, allocations: 8.812 kB / 0.5979 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3384, allocations: 12.84 kB / 0.5979 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3385, allocations: 189.2 kB / 0.5981 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3385, allocations: 8.375 kB / 0.5981 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3386, allocations: 4.375 kB / 0.5981 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.3388, allocations: 114.8 kB / 0.5982 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3389, allocations: 5.5 kB / 0.5982 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3389, allocations: 0 / 0.5982 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3389, allocations: 0 / 0.5982 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.3392, allocations: 92.92 kB / 0.5983 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.3396, allocations: 338.3 kB / 0.5986 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.3399, allocations: 105.6 kB / 0.5987 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3401, allocations: 76.94 kB / 0.5988 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3401, allocations: 3.984 kB / 0.5988 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.3404, allocations: 129.5 kB / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3404, allocations: 0 / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006054/0.341, allocations: 277.2 kB / 0.5992 GB, free: 11.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.341, allocations: 81.11 kB / 0.5993 GB, free: 11.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.3411, allocations: 135.3 kB / 0.5994 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3411, allocations: 29.7 kB / 0.5994 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.3412, allocations: 92.05 kB / 0.5995 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3412, allocations: 20.73 kB / 0.5995 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.3412, allocations: 29.72 kB / 0.5996 GB, free: 11.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.3413, allocations: 323.5 kB / 0.5999 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3415, allocations: 69.83 kB / 0.5999 GB, free: 10.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3416, allocations: 71.94 kB / 0.6 GB, free: 10.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.3419, allocations: 177 kB / 0.6002 GB, free: 10.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3419, allocations: 0 / 0.6002 GB, free: 10.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004106/0.3423, allocations: 260.8 kB / 0.6004 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.3424, allocations: 67.39 kB / 0.6005 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3424, allocations: 4.688 kB / 0.6005 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3424, allocations: 0 / 0.6005 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3425, allocations: 13.48 kB / 0.6005 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3425, allocations: 4 kB / 0.6005 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3427, allocations: 29.22 kB / 0.6005 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3427, allocations: 4 kB / 0.6005 GB, free: 10.19 MB / 446.1 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 (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 8.109e-05/0.3428, allocations: 164.3 kB / 0.6007 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.3428, allocations: 7.906 kB / 0.6007 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3429, allocations: 9.75 kB / 0.6007 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3429, allocations: 4 kB / 0.6007 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3429, allocations: 96 / 0.6007 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3429, allocations: 3.938 kB / 0.6007 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.343, allocations: 198.5 kB / 0.6009 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.343, allocations: 0 / 0.6009 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.3431, allocations: 17.23 kB / 0.6009 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3431, allocations: 0 / 0.6009 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3431, allocations: 0 / 0.6009 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3431, allocations: 9.422 kB / 0.6009 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3431, allocations: 256 / 0.6009 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.3435, allocations: 248.7 kB / 0.6012 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3435, allocations: 89.02 kB / 0.6013 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3436, allocations: 4 kB / 0.6013 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3437, allocations: 21.34 kB / 0.6013 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3438, allocations: 31.97 kB / 0.6013 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3438, allocations: 4.688 kB / 0.6013 GB, free: 9.293 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.3439, allocations: 103.9 kB / 0.6014 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3439, allocations: 0 / 0.6014 GB, free: 9.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.3441, allocations: 31.92 kB / 0.6015 GB, free: 9.164 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.547e-05/0.3442, allocations: 104.7 kB / 0.6016 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.3446, allocations: 263.5 kB / 0.6018 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3447, allocations: 0 / 0.6018 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3449, allocations: 148.1 kB / 0.6019 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3451, allocations: 11.38 kB / 0.602 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.3455, allocations: 240.8 kB / 0.6022 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3456, allocations: 0.6936 MB / 0.6029 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.3457, allocations: 15.44 kB / 0.6029 GB, free: 7.609 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3457, allocations: 3.938 kB / 0.6029 GB, free: 7.605 MB / 446.1 MB Notification: Performance of Templates: time 0.002739/0.3484, allocations: 1.44 MB / 0.6043 GB, free: 6.227 MB / 446.1 MB 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)