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.001059/0.001059, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 195.3 kB / 16.64 MB, free: 6.453 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.268/1.268, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.671/1.671, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001396/0.001396, allocations: 72.02 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2154, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002653/0.2181, allocations: 1.762 MB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.2191, allocations: 0.6962 MB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.2192, allocations: 4 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.2192, allocations: 11.86 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.2193, allocations: 11.81 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.2198, allocations: 175.3 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2199, allocations: 123.7 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.22, allocations: 45.11 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2201, allocations: 67.69 kB / 0.787 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.2202, allocations: 51.7 kB / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2203, allocations: 12 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.2204, allocations: 47.97 kB / 0.7871 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.2204, allocations: 27.91 kB / 0.7871 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.2205, allocations: 59.7 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2206, allocations: 147.5 kB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2207, allocations: 3.984 kB / 0.7873 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2207, allocations: 0 / 0.7873 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2207, allocations: 0 / 0.7873 GB, free: 9.508 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.0005081/0.2212, allocations: 431 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2212, allocations: 16.03 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007741/0.222, allocations: 112.7 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2221, allocations: 188 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.2222, allocations: 59.97 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2222, allocations: 8.375 kB / 0.7881 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.2227, allocations: 173.7 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2227, allocations: 0 / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.2228, allocations: 8 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2228, allocations: 3.984 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.2234, allocations: 167.8 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.2244, allocations: 485.6 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.2253, allocations: 218.3 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.2256, allocations: 76.91 kB / 0.7891 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.2257, allocations: 7.984 kB / 0.7892 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.2257, allocations: 34.56 kB / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2257, allocations: 0 / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0009864/0.2267, allocations: 269.4 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2268, allocations: 51.41 kB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.2269, allocations: 140 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2269, allocations: 29.7 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.227, allocations: 112.1 kB / 0.7898 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.227, allocations: 23.64 kB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.2271, allocations: 29.7 kB / 0.7898 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2272, allocations: 318.8 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2275, allocations: 71.92 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.2278, allocations: 94.5 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.2284, allocations: 166.4 kB / 0.7904 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2284, allocations: 0 / 0.7904 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006723/0.2291, allocations: 197.5 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2291, allocations: 11.98 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2291, allocations: 0 / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2291, allocations: 3.938 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2294, allocations: 43.89 kB / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2294, allocations: 160 / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.2296, allocations: 19.97 kB / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2296, allocations: 11.98 kB / 0.7907 GB, free: 5.746 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 9.677e-05/0.2297, allocations: 121.8 kB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.2298, allocations: 11.91 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.2305, allocations: 206.4 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2305, allocations: 4 kB / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2305, allocations: 4.062 kB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2305, allocations: 3.938 kB / 0.791 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2308, allocations: 230.4 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2308, allocations: 0 / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.231, allocations: 31.95 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.231, allocations: 0 / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2311, allocations: 7.938 kB / 0.7913 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2311, allocations: 3.938 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2311, allocations: 4 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.2318, allocations: 287.2 kB / 0.7916 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.2318, allocations: 85.02 kB / 0.7917 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2319, allocations: 3.938 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2321, allocations: 35.94 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2322, allocations: 8 kB / 0.7917 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.2322, allocations: 7.984 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001411/0.2324, allocations: 103.3 kB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2324, allocations: 0 / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002515/0.2326, allocations: 24 kB / 0.7918 GB, free: 4.484 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.0001249/0.2328, allocations: 99.23 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.2334, allocations: 163.8 kB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2334, allocations: 0 / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.2337, allocations: 87.84 kB / 0.7922 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.234, allocations: 10.66 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.2346, allocations: 259.5 kB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2349, allocations: 0.7002 MB / 0.7931 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.204e-05/0.235, allocations: 23.73 kB / 0.7931 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.2351, allocations: 19.42 kB / 0.7932 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2351, allocations: 0 / 0.7932 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.003602/0.2387, allocations: 1.457 MB / 0.7946 GB, free: 1.621 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)