Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009475/0.0009475, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009684/0.0009683, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005292, allocations: 17.06 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2686, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001767/0.2704, allocations: 1.168 MB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.2714, allocations: 0.5644 MB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.2715, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.2715, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.2716, allocations: 7.984 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.2719, allocations: 39.83 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.272, allocations: 15.98 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2721, allocations: 11.98 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.2722, allocations: 7.938 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.2723, allocations: 15.92 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2723, allocations: 4 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2724, allocations: 43.94 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-06/0.2724, allocations: 0 / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.2725, allocations: 33.7 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.2726, allocations: 43.88 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2726, allocations: 4 kB / 0.789 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2726, allocations: 0 / 0.789 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.2726, allocations: 0 / 0.789 GB, free: 9.984 MB / 0.6075 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.0004487/0.2731, allocations: 347.5 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2731, allocations: 12.03 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2731, allocations: 3.906 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2733, allocations: 178.8 kB / 0.7895 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2733, allocations: 0 / 0.7895 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2733, allocations: 7.984 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2735, allocations: 49.67 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2735, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2735, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2736, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.2737, allocations: 23.98 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.274, allocations: 256.9 kB / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.2741, allocations: 34.52 kB / 0.7899 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/0.275, allocations: 497.5 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.275, allocations: 34.56 kB / 0.7904 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.275, allocations: 4 kB / 0.7904 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000256/0.2753, allocations: 69.67 kB / 0.7905 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2753, allocations: 55.34 kB / 0.7905 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2754, allocations: 105.8 kB / 0.7906 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2755, allocations: 25.7 kB / 0.7906 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2755, allocations: 96.17 kB / 0.7907 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2755, allocations: 0 / 0.7907 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.2755, allocations: 0 / 0.7907 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2757, allocations: 322.8 kB / 0.791 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.2758, allocations: 8 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/0.2758, allocations: 19.92 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.2759, allocations: 12.06 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2759, allocations: 0 / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.276, allocations: 61.58 kB / 0.7911 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.276, allocations: 4 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.276, allocations: 4 kB / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2761, allocations: 0 / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.2761, allocations: 7.938 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2761, allocations: 0 / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.2762, allocations: 12.02 kB / 0.7912 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.2762, allocations: 0 / 0.7912 GB, free: 7.473 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/0.2763, allocations: 117.8 kB / 0.7913 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2763, allocations: 0 / 0.7913 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.2765, allocations: 65.2 kB / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2765, allocations: 4.031 kB / 0.7914 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2765, allocations: 4 kB / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2765, allocations: 0 / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.2767, allocations: 173.5 kB / 0.7915 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2767, allocations: 0 / 0.7915 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.2768, allocations: 4 kB / 0.7915 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2768, allocations: 3.938 kB / 0.7915 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2768, allocations: 4 kB / 0.7915 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2768, allocations: 3.938 kB / 0.7915 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2768, allocations: 0 / 0.7915 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2771, allocations: 159.5 kB / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2771, allocations: 81.11 kB / 0.7918 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2771, allocations: 0 / 0.7918 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.2772, allocations: 0 / 0.7918 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2773, allocations: 7.984 kB / 0.7918 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2773, allocations: 4.031 kB / 0.7918 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.2773, allocations: 83.28 kB / 0.7919 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2773, allocations: 0 / 0.7919 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002351/0.2776, allocations: 15.98 kB / 0.7919 GB, free: 6.652 MB / 0.6075 GB 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 (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.0001812/0.2778, allocations: 115.2 kB / 0.792 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2779, allocations: 27.92 kB / 0.792 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2779, allocations: 4.062 kB / 0.792 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/0.278, allocations: 19.98 kB / 0.792 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.2781, allocations: 3.953 kB / 0.792 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.2785, allocations: 132.6 kB / 0.7922 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.2788, allocations: 0.6888 MB / 0.7928 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.2788, allocations: 0 / 0.7928 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.2789, allocations: 7.438 kB / 0.7928 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2789, allocations: 0 / 0.7928 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.003197/0.2821, allocations: 0.6285 MB / 0.7935 GB, free: 4.973 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: