Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001215/0.001216, allocations: 118.7 kB / 16.42 MB, free: 6.5 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.001197/0.001197, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 287.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8978/0.8978, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3595, allocations: 86.98 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.00225/0.3618, allocations: 1.453 MB / 0.7685 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.3626, allocations: 0.5675 MB / 0.769 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.3626, allocations: 0 / 0.769 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.3627, allocations: 3.938 kB / 0.769 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.3627, allocations: 7.938 kB / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.363, allocations: 47.81 kB / 0.7691 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/0.363, allocations: 27.92 kB / 0.7691 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.3631, allocations: 4 kB / 0.7691 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.3632, allocations: 15.88 kB / 0.7691 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.3633, allocations: 19.92 kB / 0.7692 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3633, allocations: 7.984 kB / 0.7692 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3634, allocations: 51.95 kB / 0.7692 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3634, allocations: 4 kB / 0.7692 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.3635, allocations: 15.86 kB / 0.7692 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3636, allocations: 67.59 kB / 0.7693 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3636, allocations: 0 / 0.7693 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3636, allocations: 0 / 0.7693 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.3636, allocations: 4 kB / 0.7693 GB, free: 1.742 MB / 0.5294 GB 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.0004179/0.364, allocations: 347.5 kB / 0.7696 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3641, allocations: 8.031 kB / 0.7696 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.3641, allocations: 12.83 kB / 0.7697 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3642, allocations: 166.8 kB / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3642, allocations: 384 / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3643, allocations: 4.375 kB / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3644, allocations: 49.94 kB / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3644, allocations: 0 / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3644, allocations: 0 / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3644, allocations: 0 / 0.7699 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.3645, allocations: 23.98 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.3648, allocations: 256.9 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.3649, allocations: 30.56 kB / 0.7702 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.365, allocations: 12.92 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/0.3657, allocations: 481.3 kB / 0.7706 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3658, allocations: 34.56 kB / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3658, allocations: 4 kB / 0.7707 GB, free: 92 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.366, allocations: 57.77 kB / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.366, allocations: 55.44 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.3661, allocations: 109.8 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3661, allocations: 29.7 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.3662, allocations: 80.14 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.3662, allocations: 15.78 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.3662, allocations: 17.7 kB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3664, allocations: 310.8 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.3664, allocations: 16 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.3664, allocations: 11.92 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.882e-05/0.3665, allocations: 24.84 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3665, allocations: 3.938 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.3667, allocations: 57.59 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3667, allocations: 8 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3667, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3667, allocations: 4.094 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.3668, allocations: 7.984 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3668, allocations: 0 / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.3668, allocations: 8 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3668, allocations: 0 / 0.7715 GB, free: 15.23 MB / 0.545 GB 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 0.0001103/0.3669, allocations: 116.1 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.367, allocations: 11.92 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.3671, allocations: 61.22 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3671, allocations: 0 / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3672, allocations: 3.984 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.3672, allocations: 77.11 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3672, allocations: 4 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.3673, allocations: 0 / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.3673, allocations: 3.938 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000156/0.3675, allocations: 140.9 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001665/0.3676, allocations: 230.8 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.575e-05/0.3677, allocations: 12 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.3677, allocations: 91.56 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Backend: time 2.8e-07/0.3678, allocations: 0 / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003894/0.3681, allocations: 117.1 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003685/0.3685, allocations: 0.5621 MB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.002679/0.3712, allocations: 0.7775 MB / 0.7736 GB, free: 12.93 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)