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.001356/0.001356, allocations: 104.2 kB / 16.4 MB, free: 6.508 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.001172/0.001172, allocations: 196 kB / 17.34 MB, free: 5.742 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6944/0.6944, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.95 kB / 0.5577 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1546, allocations: 76.17 MB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002877/0.1575, allocations: 1.775 MB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1587, allocations: 0.6554 MB / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1588, allocations: 4 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.1588, allocations: 11.81 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.1589, allocations: 23.78 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.1594, allocations: 169.9 kB / 0.6347 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1596, allocations: 115.7 kB / 0.6348 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.1598, allocations: 49.08 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.16, allocations: 59.78 kB / 0.6349 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1601, allocations: 51.75 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.1601, allocations: 8 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1603, allocations: 51.97 kB / 0.635 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1603, allocations: 27.91 kB / 0.635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1604, allocations: 51.72 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1606, allocations: 155.4 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1606, allocations: 0 / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1606, allocations: 0 / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1606, allocations: 0 / 0.6352 GB, free: 1.156 MB / 478.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.0006718/0.1613, allocations: 439 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1613, allocations: 8.031 kB / 0.6356 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/0.1622, allocations: 108.7 kB / 0.6357 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1623, allocations: 194 kB / 0.6359 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.811e-05/0.1624, allocations: 63.89 kB / 0.636 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1625, allocations: 12.38 kB / 0.636 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.163, allocations: 169.7 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.163, allocations: 0 / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.163, allocations: 0 / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.163, allocations: 8 kB / 0.6362 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.1637, allocations: 157.1 kB / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1648, allocations: 489.6 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1658, allocations: 214.3 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.1661, allocations: 84.84 kB / 0.6371 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1662, allocations: 3.984 kB / 0.6371 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1662, allocations: 42.55 kB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1662, allocations: 7.938 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.00102/0.1672, allocations: 257.7 kB / 0.6374 GB, free: 14.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1673, allocations: 51.41 kB / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1674, allocations: 145.5 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1674, allocations: 29.7 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1675, allocations: 108.2 kB / 0.6377 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1675, allocations: 23.66 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.1676, allocations: 21.7 kB / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1677, allocations: 322.8 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.168, allocations: 75.86 kB / 0.6381 GB, free: 13.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.1684, allocations: 98.55 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.1689, allocations: 158.4 kB / 0.6383 GB, free: 13.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.169, allocations: 4 kB / 0.6383 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006631/0.1696, allocations: 205.4 kB / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1696, allocations: 4 kB / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1697, allocations: 0 / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1697, allocations: 11.88 kB / 0.6386 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1699, allocations: 31.95 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.17, allocations: 8.062 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1702, allocations: 19.97 kB / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1702, allocations: 3.984 kB / 0.6386 GB, free: 13.4 MB / 494.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.0001037/0.1703, allocations: 121.8 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.1703, allocations: 11.89 kB / 0.6387 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007115/0.1711, allocations: 214 kB / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1711, allocations: 0 / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1711, allocations: 0 / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1711, allocations: 0 / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1713, allocations: 230.4 kB / 0.6392 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1713, allocations: 0 / 0.6392 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.1716, allocations: 35.95 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1716, allocations: 0 / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1716, allocations: 11.94 kB / 0.6392 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1716, allocations: 3.984 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1716, allocations: 128 / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.1723, allocations: 291.2 kB / 0.6395 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1724, allocations: 88.91 kB / 0.6396 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1724, allocations: 7.938 kB / 0.6396 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.1727, allocations: 31.95 kB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1728, allocations: 4 kB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1728, allocations: 7.984 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.1729, allocations: 110.3 kB / 0.6397 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1729, allocations: 0 / 0.6397 GB, free: 12.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1731, allocations: 23.94 kB / 0.6398 GB, free: 12.13 MB / 494.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.0001235/0.1733, allocations: 99.25 kB / 0.6399 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.1739, allocations: 163.8 kB / 0.64 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.174, allocations: 0 / 0.64 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.1743, allocations: 79.92 kB / 0.6401 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1746, allocations: 15.84 kB / 0.6401 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.1753, allocations: 266.3 kB / 0.6404 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1756, allocations: 0.7002 MB / 0.641 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.58e-05/0.1757, allocations: 12 kB / 0.641 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1757, allocations: 15.42 kB / 0.6411 GB, free: 10.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1757, allocations: 0 / 0.6411 GB, free: 10.73 MB / 494.1 MB Notification: Performance of Templates: time 0.003935/0.1797, allocations: 1.465 MB / 0.6425 GB, free: 9.273 MB / 494.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)