Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.000763/0.0007629, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008305/0.0008306, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000554/0.000554, allocations: 14.69 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2267, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001576/0.2283, allocations: 1.179 MB / 0.7884 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00066/0.229, allocations: 485.2 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.229, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.21e-05/0.2291, allocations: 7.922 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.2292, allocations: 7.922 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2294, allocations: 31.91 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2295, allocations: 79.77 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.2296, allocations: 12.17 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2297, allocations: 39.89 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.2298, allocations: 39.83 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2298, allocations: 4 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.2298, allocations: 4 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.2299, allocations: 11.98 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.2299, allocations: 37.64 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.23, allocations: 60.11 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.23, allocations: 4 kB / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.587e-06/0.23, allocations: 0 / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.23, allocations: 3.938 kB / 0.7892 GB, free: 9.93 MB / 0.6075 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.0005842/0.2306, allocations: 438.5 kB / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2307, allocations: 12.03 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.2307, allocations: 7.906 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2309, allocations: 194.8 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2309, allocations: 11.94 kB / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2309, allocations: 8 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.2312, allocations: 117.6 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.2312, allocations: 0 / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2312, allocations: 0 / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2313, allocations: 4 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.2316, allocations: 99.92 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.2321, allocations: 340.8 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.2324, allocations: 126.4 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.2326, allocations: 76.94 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.2326, allocations: 0 / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.2329, allocations: 131.3 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2329, allocations: 0 / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006594/0.2336, allocations: 307.1 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.2337, allocations: 85.06 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/0.2338, allocations: 129.8 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.2338, allocations: 25.7 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.2339, allocations: 100 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2339, allocations: 23.73 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.2339, allocations: 4 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.234, allocations: 314.8 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2342, allocations: 75.94 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2344, allocations: 75.95 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.2346, allocations: 107.4 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2346, allocations: 0 / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004786/0.2351, allocations: 280.9 kB / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.2352, allocations: 67.39 kB / 0.7922 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2352, allocations: 3.938 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2352, allocations: 0 / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.2353, allocations: 23.98 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2353, allocations: 3.953 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2355, allocations: 27.97 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2355, allocations: 8 kB / 0.7923 GB, free: 6.484 MB / 0.6075 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2356, allocations: 155.5 kB / 0.7925 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.2356, allocations: 15.89 kB / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.2357, allocations: 8.375 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2357, allocations: 0 / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2357, allocations: 0 / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2357, allocations: 7.953 kB / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.2358, allocations: 189.6 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2359, allocations: 256 / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.2359, allocations: 19.98 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.236, allocations: 8 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.236, allocations: 0 / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.236, allocations: 3.984 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.236, allocations: 0 / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.2364, allocations: 266.5 kB / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.2365, allocations: 88.95 kB / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2365, allocations: 4 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2366, allocations: 27.97 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.2368, allocations: 40.03 kB / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2368, allocations: 7.984 kB / 0.7931 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.2369, allocations: 101.2 kB / 0.7932 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2369, allocations: 0 / 0.7932 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001986/0.2371, allocations: 24 kB / 0.7932 GB, free: 5.43 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.81e-05/0.2372, allocations: 99.41 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.2376, allocations: 286.7 kB / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2377, allocations: 0 / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2379, allocations: 151.3 kB / 0.7938 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.2381, allocations: 19.94 kB / 0.7938 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.2386, allocations: 233.2 kB / 0.794 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2389, allocations: 0.6888 MB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.239, allocations: 12.17 kB / 0.7947 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.239, allocations: 7.438 kB / 0.7947 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.239, allocations: 3.938 kB / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.003725/0.2427, allocations: 1.538 MB / 0.7962 GB, free: 2.328 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: