Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.007163/0.007163, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001269/0.00127, allocations: 192.7 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7464/0.7464, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.2 kB / 0.4904 GB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1822, allocations: 77.92 MB / 0.5665 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003352/0.1856, allocations: 1.835 MB / 0.5683 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1869, allocations: 0.6438 MB / 0.5689 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.187, allocations: 4 kB / 0.5689 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.162e-05/0.1871, allocations: 7.922 kB / 0.5689 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.1872, allocations: 11.88 kB / 0.5689 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1877, allocations: 152.7 kB / 0.5691 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1879, allocations: 119.7 kB / 0.5692 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.188, allocations: 53.02 kB / 0.5693 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1882, allocations: 55.83 kB / 0.5693 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.1883, allocations: 55.7 kB / 0.5694 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1883, allocations: 8 kB / 0.5694 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1884, allocations: 39.97 kB / 0.5694 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.1885, allocations: 23.91 kB / 0.5694 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.1886, allocations: 59.7 kB / 0.5695 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1888, allocations: 135.8 kB / 0.5696 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1888, allocations: 7.984 kB / 0.5696 GB, free: 13.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1888, allocations: 0 / 0.5696 GB, free: 13.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1888, allocations: 0 / 0.5696 GB, free: 13.5 MB / 446.1 MB 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.0006853/0.1895, allocations: 435 kB / 0.57 GB, free: 13.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1896, allocations: 8.031 kB / 0.5701 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.1904, allocations: 112.6 kB / 0.5702 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.1906, allocations: 180.2 kB / 0.5703 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.1907, allocations: 67.97 kB / 0.5704 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1908, allocations: 12.38 kB / 0.5704 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.1913, allocations: 171.5 kB / 0.5706 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1913, allocations: 0 / 0.5706 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1914, allocations: 7.938 kB / 0.5706 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1914, allocations: 4 kB / 0.5706 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.192, allocations: 155.8 kB / 0.5707 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1932, allocations: 489.7 kB / 0.5712 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.1943, allocations: 218.3 kB / 0.5714 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.1946, allocations: 80.91 kB / 0.5715 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1946, allocations: 7.984 kB / 0.5715 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.1947, allocations: 38.5 kB / 0.5715 GB, free: 11.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.1947, allocations: 0 / 0.5715 GB, free: 11.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001041/0.1957, allocations: 265.5 kB / 0.5718 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1958, allocations: 51.41 kB / 0.5718 GB, free: 11.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1959, allocations: 139.7 kB / 0.572 GB, free: 10.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1959, allocations: 29.7 kB / 0.572 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.196, allocations: 108.2 kB / 0.5721 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1961, allocations: 27.62 kB / 0.5721 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.1961, allocations: 25.64 kB / 0.5721 GB, free: 10.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1962, allocations: 326.8 kB / 0.5725 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.1965, allocations: 71.92 kB / 0.5725 GB, free: 10.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.1968, allocations: 94.44 kB / 0.5726 GB, free: 10.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.1974, allocations: 166.4 kB / 0.5728 GB, free: 10.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1974, allocations: 0 / 0.5728 GB, free: 10.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006223/0.198, allocations: 197.4 kB / 0.573 GB, free: 9.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.198, allocations: 4 kB / 0.573 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.198, allocations: 3.984 kB / 0.573 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1981, allocations: 7.938 kB / 0.573 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1983, allocations: 39.95 kB / 0.573 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.1984, allocations: 4 kB / 0.573 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1986, allocations: 23.97 kB / 0.573 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1986, allocations: 0 / 0.573 GB, free: 9.758 MB / 446.1 MB 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.0001042/0.1987, allocations: 125.8 kB / 0.5732 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.1987, allocations: 7.906 kB / 0.5732 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.1994, allocations: 210.1 kB / 0.5734 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1995, allocations: 0 / 0.5734 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1995, allocations: 0 / 0.5734 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1995, allocations: 4 kB / 0.5734 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1997, allocations: 246 kB / 0.5736 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1998, allocations: 0 / 0.5736 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2, allocations: 32.33 kB / 0.5736 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2, allocations: 4 kB / 0.5736 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2, allocations: 7.938 kB / 0.5737 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2, allocations: 0 / 0.5737 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2, allocations: 0 / 0.5737 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.2007, allocations: 287.2 kB / 0.5739 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.2007, allocations: 89.02 kB / 0.574 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.2008, allocations: 7.875 kB / 0.574 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.201, allocations: 31.95 kB / 0.574 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.2011, allocations: 7.984 kB / 0.5741 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2011, allocations: 3.984 kB / 0.5741 GB, free: 8.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.455e-05/0.2012, allocations: 105.5 kB / 0.5742 GB, free: 8.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2012, allocations: 3.938 kB / 0.5742 GB, free: 8.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000261/0.2015, allocations: 24 kB / 0.5742 GB, free: 8.488 MB / 446.1 MB 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.0001489/0.2016, allocations: 99.23 kB / 0.5743 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.2022, allocations: 167.8 kB / 0.5744 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.2023, allocations: 4 kB / 0.5744 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.2026, allocations: 80.05 kB / 0.5745 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2029, allocations: 8 kB / 0.5745 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.2036, allocations: 297.1 kB / 0.5748 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2039, allocations: 0.7004 MB / 0.5755 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.204, allocations: 12 kB / 0.5755 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.2041, allocations: 19.36 kB / 0.5755 GB, free: 7.059 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2041, allocations: 0 / 0.5755 GB, free: 7.059 MB / 446.1 MB Notification: Performance of Templates: time 0.003694/0.2078, allocations: 1.37 MB / 0.5769 GB, free: 5.699 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)