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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4783/0.4783, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 107.8 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 67.89 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.39, allocations: 70.05 MB / 0.5575 GB, free: 44.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003192/0.3932, allocations: 1.51 MB / 0.559 GB, free: 43.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.3942, allocations: 0.5666 MB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.3943, allocations: 0 / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.3943, allocations: 0.9062 kB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.3944, allocations: 5.031 kB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.3946, allocations: 38.95 kB / 0.5596 GB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.68e-05/0.3947, allocations: 31.03 kB / 0.5596 GB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.3948, allocations: 8.234 kB / 0.5596 GB, free: 42.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.3949, allocations: 13.52 kB / 0.5596 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.395, allocations: 15.95 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.395, allocations: 1.531 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3951, allocations: 48.52 kB / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3951, allocations: 5.062 kB / 0.5597 GB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.3952, allocations: 15.98 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3953, allocations: 57.64 kB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3953, allocations: 8 kB / 0.5598 GB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3953, allocations: 0 / 0.5598 GB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3954, allocations: 3.938 kB / 0.5598 GB, free: 42.86 MB / 410.7 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.0004217/0.3958, allocations: 356.2 kB / 0.5601 GB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3958, allocations: 11.31 kB / 0.5601 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3959, allocations: 0.9375 kB / 0.5601 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.396, allocations: 172.3 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.396, allocations: 384 / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.396, allocations: 4.359 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.3962, allocations: 50 kB / 0.5603 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3962, allocations: 0 / 0.5603 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3962, allocations: 0 / 0.5603 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3962, allocations: 4 kB / 0.5603 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.3963, allocations: 19.98 kB / 0.5603 GB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.3966, allocations: 256.8 kB / 0.5606 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.3967, allocations: 30.62 kB / 0.5606 GB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.3968, allocations: 16.86 kB / 0.5606 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006597/0.3974, allocations: 477.4 kB / 0.5611 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.3975, allocations: 38.5 kB / 0.5611 GB, free: 41.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3975, allocations: 0 / 0.5611 GB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.3977, allocations: 61.61 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.3977, allocations: 55.41 kB / 0.5612 GB, free: 41.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.3978, allocations: 113.8 kB / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.3978, allocations: 25.7 kB / 0.5614 GB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.3979, allocations: 88.05 kB / 0.5615 GB, free: 40.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.3979, allocations: 8.125 kB / 0.5615 GB, free: 40.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.3979, allocations: 9.719 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.398, allocations: 318.8 kB / 0.5618 GB, free: 40.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.398, allocations: 8 kB / 0.5618 GB, free: 40.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.3981, allocations: 11.98 kB / 0.5618 GB, free: 40.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.3981, allocations: 32.78 kB / 0.5618 GB, free: 40.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3981, allocations: 4.062 kB / 0.5618 GB, free: 40.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001014/0.3983, allocations: 57.53 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3983, allocations: 5.719 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3983, allocations: 0 / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3983, allocations: 4 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.3984, allocations: 7.984 kB / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3984, allocations: 0 / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.3984, allocations: 0 / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.3985, allocations: 4 kB / 0.5619 GB, free: 40.36 MB / 410.7 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 5.182e-05/0.3985, allocations: 117.8 kB / 0.562 GB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3985, allocations: 0 / 0.562 GB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.3987, allocations: 69.14 kB / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3987, allocations: 0 / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3987, allocations: 0 / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3987, allocations: 4 kB / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3988, allocations: 165.6 kB / 0.5623 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3988, allocations: 4 kB / 0.5623 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.3989, allocations: 12.03 kB / 0.5623 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3989, allocations: 0 / 0.5623 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.3989, allocations: 3.984 kB / 0.5623 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3989, allocations: 0 / 0.5623 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3989, allocations: 320 / 0.5623 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3992, allocations: 0.7122 MB / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.3992, allocations: 84.95 kB / 0.563 GB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3992, allocations: 0 / 0.563 GB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.3993, allocations: 4 kB / 0.5631 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3994, allocations: 3.938 kB / 0.5631 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3994, allocations: 0 / 0.5631 GB, free: 39.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.712e-05/0.3994, allocations: 95.25 kB / 0.5631 GB, free: 38.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3994, allocations: 0 / 0.5631 GB, free: 38.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.3997, allocations: 20 kB / 0.5632 GB, free: 38.94 MB / 410.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 (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.0001635/0.3999, allocations: 111.2 kB / 0.5633 GB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.4, allocations: 23.92 kB / 0.5633 GB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4, allocations: 3.938 kB / 0.5633 GB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.4001, allocations: 11.98 kB / 0.5633 GB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.4003, allocations: 8 kB / 0.5633 GB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.4006, allocations: 229.1 kB / 0.5635 GB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.4007, allocations: 0.6848 MB / 0.5642 GB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.4008, allocations: 3.984 kB / 0.5642 GB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.4008, allocations: 15.42 kB / 0.5642 GB, free: 37.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4008, allocations: 0 / 0.5642 GB, free: 37.79 MB / 410.7 MB Notification: Performance of Templates: time 0.002404/0.4032, allocations: 0.6374 MB / 0.5648 GB, free: 37.15 MB / 410.7 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)