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.00129/0.00129, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.001173/0.001173, allocations: 183 kB / 17.34 MB, free: 5.762 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8841/0.8841, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 64 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.171, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002788/0.1738, allocations: 1.486 MB / 0.6777 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.1746, allocations: 458.9 kB / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.1747, allocations: 0 / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.837e-05/0.1748, allocations: 7.875 kB / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.1748, allocations: 23.84 kB / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.175, allocations: 31.95 kB / 0.6782 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1752, allocations: 99.7 kB / 0.6783 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1753, allocations: 16.17 kB / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1754, allocations: 51.83 kB / 0.6784 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.1755, allocations: 39.83 kB / 0.6784 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1756, allocations: 8 kB / 0.6784 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.1756, allocations: 8 kB / 0.6784 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.1756, allocations: 15.92 kB / 0.6784 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.1757, allocations: 35.86 kB / 0.6785 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1758, allocations: 83.69 kB / 0.6786 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1759, allocations: 0 / 0.6786 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1759, allocations: 0 / 0.6786 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.1759, allocations: 0 / 0.6786 GB, free: 8.027 MB / 0.5137 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.0007503/0.1766, allocations: 462.5 kB / 0.679 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1766, allocations: 8.031 kB / 0.679 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.1767, allocations: 8.891 kB / 0.679 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1769, allocations: 192.2 kB / 0.6792 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1769, allocations: 8.312 kB / 0.6792 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1769, allocations: 8.375 kB / 0.6792 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1772, allocations: 121.7 kB / 0.6793 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1773, allocations: 0 / 0.6793 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1773, allocations: 7.984 kB / 0.6793 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1773, allocations: 0 / 0.6793 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.1776, allocations: 87.92 kB / 0.6794 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.1781, allocations: 332.7 kB / 0.6797 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.1785, allocations: 102.4 kB / 0.6798 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.1787, allocations: 64.94 kB / 0.6799 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1787, allocations: 0 / 0.6799 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.179, allocations: 123.3 kB / 0.68 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.179, allocations: 0 / 0.68 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007341/0.1797, allocations: 275.2 kB / 0.6803 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1798, allocations: 93.03 kB / 0.6804 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1799, allocations: 123.9 kB / 0.6805 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.18, allocations: 37.7 kB / 0.6805 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.18, allocations: 100 kB / 0.6806 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1801, allocations: 19.95 kB / 0.6806 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.1801, allocations: 29.72 kB / 0.6807 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1803, allocations: 322.8 kB / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1805, allocations: 63.95 kB / 0.681 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1807, allocations: 67.95 kB / 0.6811 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.181, allocations: 185.8 kB / 0.6813 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.181, allocations: 0 / 0.6813 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005175/0.1815, allocations: 257.2 kB / 0.6815 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.1816, allocations: 67.39 kB / 0.6816 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1816, allocations: 0 / 0.6816 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1816, allocations: 8 kB / 0.6816 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1817, allocations: 15.98 kB / 0.6816 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1817, allocations: 3.938 kB / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.1819, allocations: 23.91 kB / 0.6816 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1819, allocations: 8 kB / 0.6816 GB, free: 4.574 MB / 0.5137 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.0001345/0.182, allocations: 151.5 kB / 0.6818 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.182, allocations: 7.953 kB / 0.6818 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.1821, allocations: 20.36 kB / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1821, allocations: 0 / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1821, allocations: 0 / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1821, allocations: 96 / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1823, allocations: 205.4 kB / 0.682 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1823, allocations: 0 / 0.682 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.1824, allocations: 11.98 kB / 0.682 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1824, allocations: 0 / 0.682 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1824, allocations: 4 kB / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1824, allocations: 0 / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1824, allocations: 4 kB / 0.682 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.1829, allocations: 250.6 kB / 0.6823 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1829, allocations: 85.05 kB / 0.6824 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.183, allocations: 8 kB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1831, allocations: 19.98 kB / 0.6824 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.1832, allocations: 35.95 kB / 0.6824 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1832, allocations: 8 kB / 0.6824 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.1833, allocations: 95.27 kB / 0.6825 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1833, allocations: 0 / 0.6825 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002154/0.1835, allocations: 27.94 kB / 0.6825 GB, free: 3.547 MB / 0.5137 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.0001308/0.1837, allocations: 103.2 kB / 0.6826 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.1842, allocations: 262.6 kB / 0.6829 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1842, allocations: 0 / 0.6829 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1844, allocations: 123.4 kB / 0.683 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1847, allocations: 21.38 kB / 0.683 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1852, allocations: 249 kB / 0.6833 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1855, allocations: 0.6924 MB / 0.6839 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.1856, allocations: 19.42 kB / 0.684 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1856, allocations: 0 / 0.684 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of Templates: time 0.003312/0.1889, allocations: 1.449 MB / 0.6854 GB, free: 0.5547 MB / 0.5137 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)