Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 105.2 kB / 16.38 MB, free: 6.473 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.001027/0.001027, allocations: 195 kB / 17.32 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001418/0.001418, allocations: 78.8 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2036, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002742/0.2064, allocations: 1.438 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.2073, allocations: 0.4889 MB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.47e-05/0.2073, allocations: 3.938 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.2074, allocations: 0 / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.2075, allocations: 3.938 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2077, allocations: 35.89 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.2077, allocations: 20 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.2078, allocations: 3.984 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.2079, allocations: 19.88 kB / 0.7868 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.208, allocations: 11.92 kB / 0.7868 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.208, allocations: 4 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.2081, allocations: 19.98 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.2081, allocations: 3.984 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.2081, allocations: 15.92 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2083, allocations: 27.91 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2083, allocations: 0 / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2083, allocations: 0 / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2083, allocations: 3.938 kB / 0.7868 GB, free: 1.074 MB / 0.6544 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.0004921/0.2088, allocations: 351.4 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2088, allocations: 8.031 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.2089, allocations: 4.938 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.209, allocations: 164.4 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.209, allocations: 384 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.209, allocations: 4.375 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.2092, allocations: 49.98 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.2092, allocations: 4 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2092, allocations: 7.938 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2092, allocations: 0 / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.2095, allocations: 27.97 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2098, allocations: 268.7 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2099, allocations: 34.56 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3428/0.5527, allocations: 24.89 kB / 0.7878 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.5529, allocations: 80.94 kB / 0.7878 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5529, allocations: 31.78 kB / 0.7879 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.5529, allocations: 0 / 0.7879 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003906/0.5533, allocations: 82.95 kB / 0.7879 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.496e-05/0.5533, allocations: 56.38 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.5534, allocations: 101.3 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.5534, allocations: 28.33 kB / 0.7881 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.5534, allocations: 86.73 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.5535, allocations: 9.031 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.5535, allocations: 15.67 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.5535, allocations: 313.3 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.5536, allocations: 18.45 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.5537, allocations: 18.25 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.5538, allocations: 42.81 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5538, allocations: 3.75 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.554, allocations: 75.83 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.554, allocations: 5.344 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5541, allocations: 2.469 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5541, allocations: 0 / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.5542, allocations: 8.75 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5542, allocations: 1.625 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.5542, allocations: 8.75 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.5542, allocations: 0 / 0.7887 GB, free: 48.21 MB / 0.6544 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 3.926e-05/0.5543, allocations: 118.5 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.5543, allocations: 0 / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.5545, allocations: 72.2 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5545, allocations: 1.719 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5545, allocations: 0 / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.5546, allocations: 84.81 kB / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5546, allocations: 0 / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.5546, allocations: 6 kB / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.5547, allocations: 9.938 kB / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001953/0.5549, allocations: 149.6 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001906/0.5551, allocations: 246.3 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.648e-05/0.5552, allocations: 12.53 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.5552, allocations: 86.11 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of Backend: time 4.9e-07/0.5552, allocations: 0.75 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.5556, allocations: 101.4 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003462/0.556, allocations: 0.5495 MB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002417/0.5584, allocations: 0.6579 MB / 0.7907 GB, free: 46.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)