Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7507/0.7507, allocations: 128.7 MB / 144.5 MB, free: 1.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 186.1 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 408.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 102.1 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 58.52 kB / 0.558 GB, free: 97.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1543, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002668/0.157, allocations: 1.825 MB / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1581, allocations: 0.7059 MB / 0.6341 GB, free: 30.46 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.1581, allocations: 0 / 0.6341 GB, free: 30.46 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.1582, allocations: 3.938 kB / 0.6342 GB, free: 30.45 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.1583, allocations: 15.86 kB / 0.6342 GB, free: 30.44 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.1588, allocations: 155 kB / 0.6343 GB, free: 30.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.159, allocations: 115.7 kB / 0.6344 GB, free: 30.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1591, allocations: 41.11 kB / 0.6345 GB, free: 30.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1592, allocations: 59.77 kB / 0.6345 GB, free: 30.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.1593, allocations: 51.7 kB / 0.6346 GB, free: 30.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.1593, allocations: 8 kB / 0.6346 GB, free: 30.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1594, allocations: 43.95 kB / 0.6346 GB, free: 29.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.1595, allocations: 23.91 kB / 0.6346 GB, free: 29.95 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.1595, allocations: 67.64 kB / 0.6347 GB, free: 29.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1597, allocations: 131.9 kB / 0.6348 GB, free: 29.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1597, allocations: 0 / 0.6348 GB, free: 29.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1597, allocations: 0 / 0.6348 GB, free: 29.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1597, allocations: 4 kB / 0.6348 GB, free: 29.75 MB / 442.7 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.0005366/0.1603, allocations: 435.1 kB / 0.6353 GB, free: 29.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1603, allocations: 12.03 kB / 0.6353 GB, free: 29.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.1611, allocations: 112.6 kB / 0.6354 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.1612, allocations: 178.9 kB / 0.6355 GB, free: 28.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.1613, allocations: 67.95 kB / 0.6356 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1613, allocations: 12.36 kB / 0.6356 GB, free: 28.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.1618, allocations: 183.7 kB / 0.6358 GB, free: 28.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1618, allocations: 0 / 0.6358 GB, free: 28.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1618, allocations: 4 kB / 0.6358 GB, free: 28.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1618, allocations: 4 kB / 0.6358 GB, free: 28.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.1624, allocations: 155.8 kB / 0.6359 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009437/0.1634, allocations: 485.9 kB / 0.6364 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/0.1643, allocations: 218.3 kB / 0.6366 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.1646, allocations: 80.91 kB / 0.6367 GB, free: 27.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1646, allocations: 7.922 kB / 0.6367 GB, free: 27.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1647, allocations: 30.56 kB / 0.6367 GB, free: 27.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.1647, allocations: 4 kB / 0.6367 GB, free: 27.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009591/0.1657, allocations: 257.5 kB / 0.637 GB, free: 27.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.1657, allocations: 55.41 kB / 0.637 GB, free: 27.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.1658, allocations: 141.8 kB / 0.6372 GB, free: 27.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1658, allocations: 25.7 kB / 0.6372 GB, free: 27.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.1659, allocations: 116.1 kB / 0.6373 GB, free: 27.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1659, allocations: 11.75 kB / 0.6373 GB, free: 27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1659, allocations: 25.7 kB / 0.6373 GB, free: 26.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.166, allocations: 322.8 kB / 0.6377 GB, free: 26.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.1663, allocations: 75.92 kB / 0.6377 GB, free: 26.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.1666, allocations: 98.42 kB / 0.6378 GB, free: 26.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.1671, allocations: 158.7 kB / 0.638 GB, free: 26.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1672, allocations: 0 / 0.638 GB, free: 26.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006044/0.1678, allocations: 209.4 kB / 0.6382 GB, free: 26.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1678, allocations: 4 kB / 0.6382 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1678, allocations: 0 / 0.6382 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1678, allocations: 7.938 kB / 0.6382 GB, free: 26.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.1681, allocations: 39.83 kB / 0.6382 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1681, allocations: 0 / 0.6382 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.1683, allocations: 39.92 kB / 0.6383 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1683, allocations: 0 / 0.6383 GB, free: 26 MB / 442.7 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 7.246e-05/0.1684, allocations: 113.8 kB / 0.6384 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.1684, allocations: 7.906 kB / 0.6384 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.1691, allocations: 218.1 kB / 0.6386 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1691, allocations: 0 / 0.6386 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1691, allocations: 0 / 0.6386 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1691, allocations: 0 / 0.6386 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1693, allocations: 238.2 kB / 0.6388 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1693, allocations: 0 / 0.6388 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.1695, allocations: 35.95 kB / 0.6388 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1695, allocations: 0 / 0.6388 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1696, allocations: 11.92 kB / 0.6389 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1696, allocations: 0 / 0.6389 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1696, allocations: 0 / 0.6389 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1706, allocations: 0.9267 MB / 0.6398 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.1707, allocations: 84.95 kB / 0.6398 GB, free: 24.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1707, allocations: 192 / 0.6398 GB, free: 24.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.171, allocations: 43.95 kB / 0.6399 GB, free: 24.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1711, allocations: 3.984 kB / 0.6399 GB, free: 24.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1711, allocations: 7.984 kB / 0.6399 GB, free: 24.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.1711, allocations: 105 kB / 0.64 GB, free: 24.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 0.64 GB, free: 24.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.1715, allocations: 24 kB / 0.64 GB, free: 24.06 MB / 442.7 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.0001188/0.1716, allocations: 99.19 kB / 0.6401 GB, free: 23.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006198/0.1722, allocations: 163.8 kB / 0.6403 GB, free: 23.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1722, allocations: 0 / 0.6403 GB, free: 23.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.1725, allocations: 91.97 kB / 0.6404 GB, free: 23.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1729, allocations: 10.47 kB / 0.6404 GB, free: 23.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.1735, allocations: 405.3 kB / 0.6407 GB, free: 23.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.1737, allocations: 0.7043 MB / 0.6414 GB, free: 22.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.898e-05/0.1738, allocations: 19.98 kB / 0.6415 GB, free: 22.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.1738, allocations: 11.44 kB / 0.6415 GB, free: 22.51 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1738, allocations: 0 / 0.6415 GB, free: 22.51 MB / 442.7 MB Notification: Performance of Templates: time 0.0032/0.177, allocations: 1.423 MB / 0.6429 GB, free: 21.09 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)