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.006734/0.006734, allocations: 100.3 kB / 15.87 MB, free: 5.863 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.001272/0.001271, allocations: 195.9 kB / 16.79 MB, free: 5.805 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.007/1.007, allocations: 143 MB / 433.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 63.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1947, allocations: 82.03 MB / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003355/0.1981, allocations: 1.537 MB / 0.5957 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009871/0.1991, allocations: 467 kB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.1992, allocations: 0 / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1994, allocations: 3.938 kB / 0.5962 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.1994, allocations: 11.92 kB / 0.5962 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.1997, allocations: 27.97 kB / 0.5962 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1999, allocations: 99.69 kB / 0.5963 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2001, allocations: 12.17 kB / 0.5963 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2003, allocations: 35.91 kB / 0.5964 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2005, allocations: 39.83 kB / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.2005, allocations: 11.94 kB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.2005, allocations: 8 kB / 0.5964 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2006, allocations: 11.92 kB / 0.5964 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2007, allocations: 43.78 kB / 0.5965 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.2009, allocations: 47.91 kB / 0.5965 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.2009, allocations: 0 / 0.5965 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.775e-06/0.201, allocations: 0 / 0.5965 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.201, allocations: 0 / 0.5965 GB, free: 7.719 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.001154/0.2021, allocations: 454.8 kB / 0.597 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.2022, allocations: 8.031 kB / 0.597 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.2023, allocations: 16.83 kB / 0.597 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2026, allocations: 196.2 kB / 0.5972 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2026, allocations: 384 / 0.5972 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.2027, allocations: 8.375 kB / 0.5972 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.2031, allocations: 117.7 kB / 0.5973 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2032, allocations: 0 / 0.5973 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.2032, allocations: 7.938 kB / 0.5973 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2032, allocations: 4 kB / 0.5973 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.2036, allocations: 87.92 kB / 0.5974 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.2044, allocations: 328.8 kB / 0.5977 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2048, allocations: 102.5 kB / 0.5978 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.205, allocations: 76.88 kB / 0.5979 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.205, allocations: 3.938 kB / 0.5979 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004949/0.2055, allocations: 123.3 kB / 0.598 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.2055, allocations: 4 kB / 0.598 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008324/0.2064, allocations: 271.4 kB / 0.5983 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2065, allocations: 89.09 kB / 0.5983 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2066, allocations: 124.4 kB / 0.5985 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2067, allocations: 33.64 kB / 0.5985 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2068, allocations: 100 kB / 0.5986 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.2068, allocations: 19.83 kB / 0.5986 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2069, allocations: 37.69 kB / 0.5986 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2071, allocations: 326.8 kB / 0.599 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2073, allocations: 64.02 kB / 0.599 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2075, allocations: 67.95 kB / 0.5991 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2079, allocations: 185.9 kB / 0.5993 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2079, allocations: 0 / 0.5993 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005168/0.2084, allocations: 264.8 kB / 0.5995 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.2085, allocations: 59.41 kB / 0.5996 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2085, allocations: 0 / 0.5996 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2085, allocations: 3.984 kB / 0.5996 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.2086, allocations: 19.98 kB / 0.5996 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.2086, allocations: 0 / 0.5996 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.2088, allocations: 19.98 kB / 0.5996 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.2088, allocations: 7.984 kB / 0.5996 GB, free: 4.262 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.0001516/0.209, allocations: 159.4 kB / 0.5998 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.209, allocations: 11.91 kB / 0.5998 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.2091, allocations: 16.3 kB / 0.5998 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2091, allocations: 4 kB / 0.5998 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2091, allocations: 0 / 0.5998 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2091, allocations: 4 kB / 0.5998 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.2093, allocations: 189.5 kB / 0.6 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2093, allocations: 0 / 0.6 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.2094, allocations: 11.98 kB / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2094, allocations: 4 kB / 0.6 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2094, allocations: 4 kB / 0.6 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2094, allocations: 0 / 0.6 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2094, allocations: 3.938 kB / 0.6 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.21, allocations: 250.6 kB / 0.6002 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.21, allocations: 88.95 kB / 0.6003 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2101, allocations: 0 / 0.6003 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2102, allocations: 23.97 kB / 0.6004 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.2104, allocations: 35.95 kB / 0.6004 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2104, allocations: 12.06 kB / 0.6004 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.2105, allocations: 103.2 kB / 0.6005 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2105, allocations: 0 / 0.6005 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002368/0.2107, allocations: 27.94 kB / 0.6005 GB, free: 3.219 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.0001322/0.2108, allocations: 106 kB / 0.6006 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005236/0.2114, allocations: 262.6 kB / 0.6009 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2114, allocations: 8 kB / 0.6009 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.2117, allocations: 135.3 kB / 0.601 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.2119, allocations: 17.55 kB / 0.601 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.2125, allocations: 266.8 kB / 0.6013 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2128, allocations: 0.6888 MB / 0.602 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.2128, allocations: 15.42 kB / 0.602 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2129, allocations: 0 / 0.602 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of Templates: time 0.003397/0.2163, allocations: 1.418 MB / 0.6034 GB, free: 228 kB / 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)