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.001044/0.001044, allocations: 91.77 kB / 15.7 MB, free: 468 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.001351/0.001351, allocations: 176.2 kB / 16.58 MB, free: 6.848 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.41/1.41, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 12.2 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 77.53 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001801/0.1387, allocations: 1.441 MB / 0.5607 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.1397, allocations: 0.6131 MB / 0.5613 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.1398, allocations: 0 / 0.5613 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.1398, allocations: 7.922 kB / 0.5613 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.1399, allocations: 11.86 kB / 0.5613 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1404, allocations: 153.8 kB / 0.5615 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1405, allocations: 103.7 kB / 0.5616 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1406, allocations: 49.19 kB / 0.5616 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1407, allocations: 39.86 kB / 0.5617 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.1408, allocations: 39.77 kB / 0.5617 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1409, allocations: 4 kB / 0.5617 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.141, allocations: 47.95 kB / 0.5618 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.141, allocations: 19.91 kB / 0.5618 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.141, allocations: 37.7 kB / 0.5618 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1412, allocations: 95.98 kB / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1412, allocations: 0 / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1412, allocations: 0 / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1412, allocations: 4 kB / 0.5619 GB, free: 6.719 MB / 430.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.0005055/0.1417, allocations: 411 kB / 0.5623 GB, free: 6.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1418, allocations: 12.03 kB / 0.5623 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/0.1426, allocations: 143.6 kB / 0.5625 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1427, allocations: 182.9 kB / 0.5626 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.1428, allocations: 59.41 kB / 0.5627 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1428, allocations: 15.95 kB / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1433, allocations: 195.6 kB / 0.5629 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1434, allocations: 0 / 0.5629 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.1434, allocations: 4 kB / 0.5629 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1434, allocations: 0 / 0.5629 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.144, allocations: 199.8 kB / 0.5631 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.1451, allocations: 0.4979 MB / 0.5636 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/0.1461, allocations: 262.3 kB / 0.5638 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.1464, allocations: 104.8 kB / 0.5639 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1464, allocations: 3.984 kB / 0.5639 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1464, allocations: 34.52 kB / 0.564 GB, free: 4.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1464, allocations: 7.938 kB / 0.564 GB, free: 4.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001009/0.1474, allocations: 317.5 kB / 0.5643 GB, free: 4.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1475, allocations: 51.41 kB / 0.5643 GB, free: 4.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1476, allocations: 135.7 kB / 0.5644 GB, free: 3.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1476, allocations: 25.7 kB / 0.5645 GB, free: 3.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1477, allocations: 108.2 kB / 0.5646 GB, free: 3.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1477, allocations: 27.64 kB / 0.5646 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.1478, allocations: 4 kB / 0.5646 GB, free: 3.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1479, allocations: 322.8 kB / 0.5649 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1482, allocations: 87.92 kB / 0.565 GB, free: 3.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.1485, allocations: 114.5 kB / 0.5651 GB, free: 3.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1488, allocations: 95.86 kB / 0.5652 GB, free: 3.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1488, allocations: 0 / 0.5652 GB, free: 3.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006616/0.1495, allocations: 241.3 kB / 0.5654 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1495, allocations: 8.062 kB / 0.5654 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1495, allocations: 4 kB / 0.5654 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1495, allocations: 0 / 0.5654 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.1498, allocations: 39.95 kB / 0.5655 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1498, allocations: 4 kB / 0.5655 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.15, allocations: 39.86 kB / 0.5655 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.15, allocations: 4 kB / 0.5655 GB, free: 2.785 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1501, allocations: 117.8 kB / 0.5656 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.1502, allocations: 11.86 kB / 0.5656 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.1509, allocations: 242.2 kB / 0.5659 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1509, allocations: 0 / 0.5659 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1509, allocations: 3.984 kB / 0.5659 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1509, allocations: 0 / 0.5659 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1512, allocations: 242 kB / 0.5661 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1512, allocations: 0 / 0.5661 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.1514, allocations: 43.95 kB / 0.5661 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.1515, allocations: 4.328 kB / 0.5662 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1515, allocations: 15.92 kB / 0.5662 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1515, allocations: 4 kB / 0.5662 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1515, allocations: 0 / 0.5662 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.1522, allocations: 323.2 kB / 0.5665 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1522, allocations: 81.02 kB / 0.5666 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1522, allocations: 7.891 kB / 0.5666 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.1525, allocations: 43.95 kB / 0.5666 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1526, allocations: 8 kB / 0.5666 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1526, allocations: 7.984 kB / 0.5666 GB, free: 1.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.411e-05/0.1527, allocations: 109.1 kB / 0.5667 GB, free: 1.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1527, allocations: 0 / 0.5667 GB, free: 1.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.153, allocations: 27.91 kB / 0.5668 GB, free: 1.422 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001172/0.1531, allocations: 95.25 kB / 0.5668 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006376/0.1537, allocations: 195.8 kB / 0.567 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1537, allocations: 8.125 kB / 0.567 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.154, allocations: 91.92 kB / 0.5671 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1544, allocations: 19.98 kB / 0.5671 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.155, allocations: 297.4 kB / 0.5674 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1553, allocations: 0.6965 MB / 0.5681 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1554, allocations: 20.17 kB / 0.5681 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.1555, allocations: 11.44 kB / 0.5681 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1555, allocations: 0 / 0.5681 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Templates: time 0.00351/0.159, allocations: 1.315 MB / 0.5694 GB, free: 14.64 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)