Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001013/0.001013, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.0009436/0.0009436, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002001, allocations: 288.9 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.8946/0.8946, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 100.2 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3589, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002983/0.3619, allocations: 1.758 MB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3631, allocations: 0.661 MB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.3632, allocations: 4 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.3633, allocations: 11.86 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.642e-05/0.3634, allocations: 11.81 kB / 0.7695 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.364, allocations: 168.3 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3642, allocations: 131.6 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3643, allocations: 52.5 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3645, allocations: 59.83 kB / 0.7698 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.3646, allocations: 55.69 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.3646, allocations: 8 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3647, allocations: 51.97 kB / 0.77 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.3648, allocations: 35.91 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.3648, allocations: 51.72 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.365, allocations: 147.5 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.365, allocations: 4 kB / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3651, allocations: 0 / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3651, allocations: 0 / 0.7702 GB, free: 0.6758 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005591/0.3656, allocations: 437.5 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3657, allocations: 8.031 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.3665, allocations: 112.7 kB / 0.7707 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3667, allocations: 184.1 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.3668, allocations: 63.97 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3668, allocations: 4.375 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.3674, allocations: 191.9 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3674, allocations: 0 / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3674, allocations: 0 / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.3674, allocations: 7.984 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.368, allocations: 159.8 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.3691, allocations: 470 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3701, allocations: 222.3 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.3704, allocations: 84.89 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3705, allocations: 8 kB / 0.7721 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3705, allocations: 34.5 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3705, allocations: 0 / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0009995/0.3715, allocations: 265.5 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.3715, allocations: 51.41 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3717, allocations: 140.4 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3717, allocations: 25.7 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.3718, allocations: 124.1 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3718, allocations: 19.66 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3718, allocations: 25.7 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.372, allocations: 318.8 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.3723, allocations: 75.92 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.3726, allocations: 102.4 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.3732, allocations: 158.4 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3732, allocations: 0 / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006598/0.3738, allocations: 197.4 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3739, allocations: 12.06 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3739, allocations: 0 / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3739, allocations: 3.938 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3741, allocations: 39.89 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3742, allocations: 0 / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.3744, allocations: 23.95 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3744, allocations: 8 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB 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 8.952e-05/0.3745, allocations: 120.2 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3745, allocations: 7.906 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.3752, allocations: 206.5 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3752, allocations: 15.92 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3752, allocations: 0 / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3753, allocations: 81.02 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3753, allocations: 4 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.3756, allocations: 27.95 kB / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3757, allocations: 4 kB / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008211/0.3765, allocations: 284.8 kB / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006969/0.3772, allocations: 366.4 kB / 0.7747 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002977/0.3775, allocations: 87.84 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.3776, allocations: 103.3 kB / 0.7749 GB, free: 11.59 MB / 0.545 GB Notification: Performance of Backend: time 6.41e-07/0.3776, allocations: 4 kB / 0.7749 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.3783, allocations: 176.4 kB / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005816/0.3789, allocations: 0.6565 MB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Templates: time 0.004621/0.3835, allocations: 2.272 MB / 0.7779 GB, free: 8.449 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)