Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001611/0.001611, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222 MB, free: 4.773 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.686/1.686, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.00128/0.00128, allocations: 71 kB / 0.6708 GB, free: 26.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2142, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.004358/0.2186, allocations: 1.824 MB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2202, allocations: 0.7031 MB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.2203, allocations: 4 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.834e-05/0.2205, allocations: 7.922 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2206, allocations: 11.86 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.2213, allocations: 147.6 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2215, allocations: 119.6 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2217, allocations: 49.08 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2219, allocations: 55.78 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.222, allocations: 47.77 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.222, allocations: 8 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.2222, allocations: 51.95 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.2223, allocations: 23.91 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.2224, allocations: 51.72 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.2228, allocations: 139.8 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2228, allocations: 7.938 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2228, allocations: 0 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2228, allocations: 0 / 0.7858 GB, free: 10.73 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008703/0.2237, allocations: 431 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2238, allocations: 12.03 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2249, allocations: 112.7 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2251, allocations: 192 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.2253, allocations: 67.95 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.2253, allocations: 12.38 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.226, allocations: 170.6 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.226, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.2261, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2261, allocations: 4 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.227, allocations: 163.8 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.2286, allocations: 485.7 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.23, allocations: 214.3 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.2304, allocations: 80.91 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.2305, allocations: 3.984 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.2305, allocations: 42.56 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.2305, allocations: 0 / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001374/0.2319, allocations: 265.4 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.232, allocations: 51.41 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2321, allocations: 140.5 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.2322, allocations: 29.7 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.2323, allocations: 116.1 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.2323, allocations: 23.66 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.2324, allocations: 21.7 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2326, allocations: 330.8 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.233, allocations: 67.92 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.2335, allocations: 90.5 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.2342, allocations: 166.4 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2343, allocations: 4 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009191/0.2352, allocations: 205.4 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.2352, allocations: 4 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2352, allocations: 0 / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.2353, allocations: 7.938 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.2356, allocations: 36.02 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2357, allocations: 4 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.2359, allocations: 19.97 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.236, allocations: 3.984 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.000131/0.2361, allocations: 125.8 kB / 0.7894 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.2362, allocations: 12.16 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009688/0.2372, allocations: 214.1 kB / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2372, allocations: 0 / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2372, allocations: 0 / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2372, allocations: 0 / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.2376, allocations: 226.4 kB / 0.7898 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2376, allocations: 4 kB / 0.7898 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.2379, allocations: 31.95 kB / 0.7898 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2379, allocations: 0 / 0.7898 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.238, allocations: 11.94 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.238, allocations: 3.938 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.238, allocations: 0 / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.2389, allocations: 287.2 kB / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.239, allocations: 81.02 kB / 0.7902 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.239, allocations: 11.92 kB / 0.7902 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.2395, allocations: 31.95 kB / 0.7902 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2395, allocations: 8 kB / 0.7902 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2396, allocations: 7.969 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.2397, allocations: 103.3 kB / 0.7904 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.395e-06/0.2397, allocations: 0 / 0.7904 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004614/0.2401, allocations: 23.94 kB / 0.7904 GB, free: 5.711 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001521/0.2403, allocations: 103.2 kB / 0.7905 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008774/0.2412, allocations: 167.8 kB / 0.7906 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2412, allocations: 0 / 0.7906 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.2416, allocations: 79.86 kB / 0.7907 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.2422, allocations: 14.78 kB / 0.7907 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.243, allocations: 301.2 kB / 0.791 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.2434, allocations: 0.7004 MB / 0.7917 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.2436, allocations: 19.75 kB / 0.7917 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.2436, allocations: 15.42 kB / 0.7917 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2437, allocations: 0 / 0.7917 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.00468/0.2483, allocations: 1.368 MB / 0.7931 GB, free: 2.906 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)