Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 115.9 kB / 17.09 MB, free: 5.957 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.001212/0.001212, allocations: 193.9 kB / 18.02 MB, free: 5.039 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7343/0.7343, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.23 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 76.18 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002781/0.1489, allocations: 1.448 MB / 0.6342 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.15, allocations: 0.5618 MB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.15, allocations: 0 / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.1501, allocations: 3.938 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.1502, allocations: 11.94 kB / 0.6347 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1505, allocations: 55.81 kB / 0.6348 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.1506, allocations: 19.94 kB / 0.6348 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.1507, allocations: 7.984 kB / 0.6348 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.1508, allocations: 19.92 kB / 0.6348 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.1508, allocations: 11.92 kB / 0.6348 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1509, allocations: 0 / 0.6348 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.151, allocations: 51.95 kB / 0.6349 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.151, allocations: 8 kB / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1511, allocations: 19.81 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1512, allocations: 63.8 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.1513, allocations: 7.984 kB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1513, allocations: 0 / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1513, allocations: 0 / 0.635 GB, free: 2.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004461/0.1517, allocations: 345.1 kB / 0.6353 GB, free: 1.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1518, allocations: 8.031 kB / 0.6353 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1518, allocations: 8.844 kB / 0.6353 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1519, allocations: 180.3 kB / 0.6355 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.152, allocations: 384 / 0.6355 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.152, allocations: 384 / 0.6355 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1521, allocations: 46 kB / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1521, allocations: 0 / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.1522, allocations: 0 / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1522, allocations: 0 / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.1523, allocations: 23.92 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.1526, allocations: 264.8 kB / 0.6358 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.1527, allocations: 30.56 kB / 0.6358 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.1528, allocations: 12.92 kB / 0.6358 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008092/0.1536, allocations: 481.4 kB / 0.6363 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1536, allocations: 30.56 kB / 0.6363 GB, free: 428 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 2.484e-06/0.1536, allocations: 0 / 0.6363 GB, free: 428 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.000245/0.1539, allocations: 69.55 kB / 0.6364 GB, free: 352 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1539, allocations: 51.41 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.154, allocations: 109.8 kB / 0.6366 GB, free: 168 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.154, allocations: 29.83 kB / 0.6366 GB, free: 132 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.1541, allocations: 84.14 kB / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1541, allocations: 7.906 kB / 0.6367 GB, free: 36 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1541, allocations: 9.719 kB / 0.6367 GB, free: 20 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1543, allocations: 322.9 kB / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.1543, allocations: 4 kB / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.1544, allocations: 11.98 kB / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.1545, allocations: 36.84 kB / 0.637 GB, free: 15.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1545, allocations: 3.938 kB / 0.637 GB, free: 15.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.1546, allocations: 49.69 kB / 0.6371 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1546, allocations: 4 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1546, allocations: 4 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1546, allocations: 0 / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.1547, allocations: 7.984 kB / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1547, allocations: 4 kB / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.1548, allocations: 7.938 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1548, allocations: 0 / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.497e-05/0.1549, allocations: 125.2 kB / 0.6372 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1549, allocations: 0 / 0.6372 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.1551, allocations: 61.14 kB / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1551, allocations: 0 / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1551, allocations: 7.984 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1551, allocations: 0 / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1553, allocations: 169.6 kB / 0.6375 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1553, allocations: 0 / 0.6375 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1553, allocations: 7.984 kB / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1554, allocations: 4 kB / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1554, allocations: 0 / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1554, allocations: 0 / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1554, allocations: 0 / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1555, allocations: 155.4 kB / 0.6376 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1556, allocations: 85.02 kB / 0.6377 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1556, allocations: 3.984 kB / 0.6377 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.1557, allocations: 3.938 kB / 0.6377 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1557, allocations: 4 kB / 0.6377 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1557, allocations: 0 / 0.6377 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.1558, allocations: 87.27 kB / 0.6378 GB, free: 14.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 0.6378 GB, free: 14.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.156, allocations: 16 kB / 0.6378 GB, free: 14.73 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 (2): * Single equations (assignments): 2 * 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.0001777/0.1562, allocations: 115.2 kB / 0.6379 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1564, allocations: 23.98 kB / 0.6379 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1564, allocations: 0 / 0.6379 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.1564, allocations: 15.98 kB / 0.638 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1567, allocations: 7.875 kB / 0.638 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.157, allocations: 152.5 kB / 0.6381 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1573, allocations: 0.6768 MB / 0.6388 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1574, allocations: 15.44 kB / 0.6388 GB, free: 13.67 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1574, allocations: 0 / 0.6388 GB, free: 13.67 MB / 494.1 MB Notification: Performance of Templates: time 0.002709/0.1601, allocations: 0.8134 MB / 0.6396 GB, free: 12.86 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)