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.001033/0.001033, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001054/0.001054, allocations: 189.4 kB / 16.25 MB, free: 6.641 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.25/1.25, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.567/1.567, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.001306/0.001306, allocations: 67.98 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1952, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002823/0.1981, allocations: 1.819 MB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1991, allocations: 0.7069 MB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.1992, allocations: 0 / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.1993, allocations: 3.938 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.1993, allocations: 19.84 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.1998, allocations: 155.2 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.2, allocations: 119.7 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2001, allocations: 45.09 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2002, allocations: 55.84 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.2003, allocations: 59.69 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2003, allocations: 8 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2005, allocations: 47.97 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.2005, allocations: 35.89 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.2005, allocations: 51.72 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2007, allocations: 143.8 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2007, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2007, allocations: 7.938 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2008, allocations: 0 / 0.786 GB, free: 10.61 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.0005083/0.2013, allocations: 435 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.2013, allocations: 8.031 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/0.2021, allocations: 112.7 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2022, allocations: 184.1 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.2023, allocations: 67.91 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2023, allocations: 8.312 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.2028, allocations: 183.8 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2028, allocations: 0 / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2028, allocations: 0 / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2029, allocations: 4 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.2034, allocations: 159.8 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.2044, allocations: 489.7 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.2053, allocations: 218.3 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.2056, allocations: 84.89 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2057, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2057, allocations: 38.56 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.2057, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0008976/0.2066, allocations: 265.4 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2066, allocations: 51.41 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.2067, allocations: 140.4 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.2068, allocations: 33.7 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.2068, allocations: 108.1 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2068, allocations: 27.64 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.2069, allocations: 21.7 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.207, allocations: 318.8 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.2073, allocations: 79.91 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.2076, allocations: 90.5 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.2081, allocations: 162.4 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2081, allocations: 4 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006052/0.2087, allocations: 201.4 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2087, allocations: 4 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.2087, allocations: 0 / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2088, allocations: 11.92 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.209, allocations: 32.27 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.209, allocations: 12 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2092, allocations: 31.91 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2092, allocations: 0 / 0.7895 GB, free: 6.844 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 8.724e-05/0.2093, allocations: 121.8 kB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.2094, allocations: 7.906 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.21, allocations: 210.1 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.21, allocations: 0 / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.21, allocations: 0 / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.21, allocations: 0 / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2103, allocations: 234.4 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2103, allocations: 4 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.2105, allocations: 35.95 kB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2105, allocations: 3.938 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2105, allocations: 7.938 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2105, allocations: 0 / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2105, allocations: 0 / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.2112, allocations: 287.2 kB / 0.7903 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.2112, allocations: 81.02 kB / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.2113, allocations: 7.938 kB / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.2116, allocations: 31.95 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.2116, allocations: 11.98 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2116, allocations: 3.984 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.2117, allocations: 109.1 kB / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2117, allocations: 0 / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002441/0.2119, allocations: 24 kB / 0.7906 GB, free: 5.586 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.0001245/0.2121, allocations: 99.23 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.2127, allocations: 167.8 kB / 0.7908 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2127, allocations: 0 / 0.7908 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.213, allocations: 79.91 kB / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.2133, allocations: 8.375 kB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.2138, allocations: 299.6 kB / 0.7912 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2141, allocations: 0.7002 MB / 0.7919 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.572e-05/0.2142, allocations: 19.75 kB / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.2142, allocations: 15.42 kB / 0.7919 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of SimCode: time 1.243e-06/0.2142, allocations: 3.938 kB / 0.7919 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.003137/0.2174, allocations: 1.423 MB / 0.7933 GB, free: 2.727 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)