Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008801/0.0008802, allocations: 166.8 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007304/0.00073, allocations: 86.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003012, allocations: 12.47 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001697/0.194, allocations: 1.506 MB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.195, allocations: 0.7075 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.195, allocations: 0 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.1951, allocations: 7.922 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.1952, allocations: 15.86 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.1956, allocations: 154.7 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1957, allocations: 111.7 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1959, allocations: 52.97 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.196, allocations: 47.83 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.1961, allocations: 43.72 kB / 0.8993 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1961, allocations: 4 kB / 0.8993 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.1962, allocations: 39.97 kB / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.1962, allocations: 23.91 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.1963, allocations: 47.72 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1964, allocations: 135.5 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1964, allocations: 0 / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1964, allocations: 0 / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1964, allocations: 0 / 0.8996 GB, free: 65.25 MB / 0.6042 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.000484/0.1969, allocations: 422.9 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.197, allocations: 8.031 kB / 0.9 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/0.1977, allocations: 144.7 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.1978, allocations: 172.2 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.1979, allocations: 67.86 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1979, allocations: 16.31 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1984, allocations: 193.6 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.1984, allocations: 4 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1984, allocations: 4 kB / 0.9006 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1984, allocations: 4 kB / 0.9006 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.1989, allocations: 191.8 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.1998, allocations: 0.5016 MB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.2007, allocations: 270.3 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.2009, allocations: 92.91 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.201, allocations: 11.98 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.201, allocations: 38.5 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.201, allocations: 0 / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0008625/0.2019, allocations: 313.7 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.474e-05/0.2019, allocations: 51.41 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.202, allocations: 140.2 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.202, allocations: 29.7 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.2021, allocations: 116 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2021, allocations: 15.81 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.2021, allocations: 17.7 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.2022, allocations: 314.8 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.2024, allocations: 95.91 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.2027, allocations: 114.4 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.2032, allocations: 202.5 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2032, allocations: 0 / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005671/0.2038, allocations: 237.4 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2038, allocations: 4 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2038, allocations: 0 / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2038, allocations: 7.938 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.2041, allocations: 47.88 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2041, allocations: 4 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2042, allocations: 43.81 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2043, allocations: 0 / 0.9033 GB, free: 61.17 MB / 0.6042 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 6.37e-05/0.2043, allocations: 117.8 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2044, allocations: 11.89 kB / 0.9034 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.205, allocations: 242.2 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.205, allocations: 3.938 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.205, allocations: 0 / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.205, allocations: 89 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2051, allocations: 4 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.2053, allocations: 39.95 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2054, allocations: 11.98 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006682/0.2061, allocations: 324.8 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005488/0.2066, allocations: 402.6 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002477/0.2069, allocations: 107.9 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.2069, allocations: 105.3 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Backend: time 4.2e-07/0.2069, allocations: 0 / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.2075, allocations: 194.3 kB / 0.9049 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003923/0.2079, allocations: 0.6823 MB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.003407/0.2113, allocations: 2.11 MB / 0.9076 GB, free: 56.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)