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.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001691/0.001691, allocations: 194.8 kB / 16.14 MB, free: 6.703 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 / 222 MB, free: 4.77 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.617/1.617, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001578/0.001578, allocations: 66.3 kB / 0.6708 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002808/0.2639, allocations: 1.503 MB / 0.7841 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.2647, allocations: 0.5016 MB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.2647, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.2648, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.2649, allocations: 4 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.265, allocations: 23.92 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.2651, allocations: 27.86 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.2652, allocations: 4 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.2653, allocations: 4 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.2653, allocations: 19.91 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.2653, allocations: 0 / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.175e-05/0.2654, allocations: 23.92 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.2655, allocations: 7.984 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.2655, allocations: 7.938 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2656, allocations: 39.89 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2656, allocations: 3.938 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2656, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2656, allocations: 0 / 0.7848 GB, free: 11.82 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.0004468/0.2661, allocations: 343.7 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2661, allocations: 8.031 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2662, allocations: 0.9375 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2663, allocations: 172.3 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2663, allocations: 4.375 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.2663, allocations: 384 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2665, allocations: 53.98 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2665, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2665, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2666, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2667, allocations: 31.97 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.267, allocations: 260.8 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2672, allocations: 34.62 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.2673, allocations: 24.83 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.2674, allocations: 81.11 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.2674, allocations: 30.56 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2674, allocations: 4 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.2678, allocations: 85.58 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.2678, allocations: 51.41 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.2679, allocations: 109.8 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2679, allocations: 25.7 kB / 0.786 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.268, allocations: 84.27 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.268, allocations: 11.84 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.268, allocations: 13.72 kB / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.2681, allocations: 318.8 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.2682, allocations: 15.98 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.2683, allocations: 15.98 kB / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2684, allocations: 44.83 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2684, allocations: 0 / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.2686, allocations: 69.59 kB / 0.7866 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2687, allocations: 4 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2687, allocations: 0 / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2687, allocations: 0 / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.2688, allocations: 11.98 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2688, allocations: 4.031 kB / 0.7866 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.2689, allocations: 11.92 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2689, allocations: 0 / 0.7866 GB, free: 9.688 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.576e-05/0.2689, allocations: 113.8 kB / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.269, allocations: 7.906 kB / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.2692, allocations: 76.7 kB / 0.7868 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2692, allocations: 4.031 kB / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2692, allocations: 4.25 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2692, allocations: 0 / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2694, allocations: 165.6 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2694, allocations: 0 / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.2695, allocations: 7.984 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2695, allocations: 4 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2695, allocations: 0 / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2695, allocations: 0 / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2695, allocations: 0 / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.2697, allocations: 171.4 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.2698, allocations: 77.11 kB / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2698, allocations: 3.938 kB / 0.7872 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.2699, allocations: 7.984 kB / 0.7872 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2699, allocations: 7.938 kB / 0.7872 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2699, allocations: 0 / 0.7872 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.27, allocations: 83.31 kB / 0.7873 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.27, allocations: 0 / 0.7873 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002183/0.2702, allocations: 11.98 kB / 0.7873 GB, free: 8.855 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 (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.0001501/0.2704, allocations: 103.2 kB / 0.7874 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2706, allocations: 31.97 kB / 0.7875 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2706, allocations: 4 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.2707, allocations: 24.03 kB / 0.7875 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.271, allocations: 7.938 kB / 0.7875 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.2713, allocations: 115.2 kB / 0.7876 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2715, allocations: 0.6809 MB / 0.7883 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.2716, allocations: 4.062 kB / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.2716, allocations: 7.438 kB / 0.7883 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2716, allocations: 0 / 0.7883 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.002465/0.2741, allocations: 496.9 kB / 0.7888 GB, free: 7.34 MB / 0.6075 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)