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.001191/0.001192, allocations: 101.5 kB / 16.27 MB, free: 6.418 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.001284/0.001284, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.749/1.749, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.001602/0.001602, allocations: 71.3 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002976/0.23, allocations: 1.423 MB / 0.7854 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.2309, allocations: 0.4966 MB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.231, allocations: 0 / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.231, allocations: 3.938 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.2311, allocations: 8 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2314, allocations: 19.91 kB / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.2314, allocations: 27.92 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.2315, allocations: 4 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.2316, allocations: 15.92 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.2317, allocations: 15.86 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.2317, allocations: 4 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.2318, allocations: 23.92 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.2318, allocations: 4 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2318, allocations: 15.92 kB / 0.786 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.2319, allocations: 31.89 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.232, allocations: 4 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.232, allocations: 0 / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.232, allocations: 0 / 0.7861 GB, free: 1.746 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.0004586/0.2324, allocations: 339.7 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2325, allocations: 12.03 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.2325, allocations: 0.9375 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2327, allocations: 160.4 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2327, allocations: 8.375 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.2327, allocations: 384 / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.2329, allocations: 57.92 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2329, allocations: 0 / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2329, allocations: 0 / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2329, allocations: 0 / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.2331, allocations: 35.95 kB / 0.7867 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.2334, allocations: 260.8 kB / 0.7869 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2336, allocations: 38.5 kB / 0.7869 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.2337, allocations: 20.91 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.2338, allocations: 85.09 kB / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.2339, allocations: 42.56 kB / 0.7871 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2339, allocations: 0 / 0.7871 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.2342, allocations: 77.64 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2343, allocations: 51.41 kB / 0.7872 GB, free: 392 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.2344, allocations: 101.9 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2344, allocations: 25.7 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.2344, allocations: 92.25 kB / 0.7874 GB, free: 152 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2345, allocations: 11.83 kB / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.2345, allocations: 13.72 kB / 0.7874 GB, free: 120 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3495/0.584, allocations: 318.8 kB / 0.7877 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.5842, allocations: 13.7 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.5843, allocations: 15.88 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.5844, allocations: 45.95 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5844, allocations: 2.781 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.5847, allocations: 65.95 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5847, allocations: 5.469 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5847, allocations: 0 / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5847, allocations: 0 / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.5848, allocations: 9.703 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5848, allocations: 8.469 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.5849, allocations: 5.672 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.5849, allocations: 1 kB / 0.7879 GB, free: 48.48 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 5.594e-05/0.585, allocations: 112 kB / 0.788 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.585, allocations: 6.812 kB / 0.788 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.5852, allocations: 75.11 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5852, allocations: 1.219 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5853, allocations: 3.938 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5853, allocations: 5.719 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.5854, allocations: 154 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5854, allocations: 4.75 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.5855, allocations: 11.3 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5855, allocations: 0 / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.5855, allocations: 0 / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5855, allocations: 0 / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5855, allocations: 6.625 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.5857, allocations: 160.4 kB / 0.7884 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.5857, allocations: 81.83 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.5858, allocations: 0.5 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.5858, allocations: 12.02 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.5859, allocations: 7.562 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.5859, allocations: 0 / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.5859, allocations: 90.89 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5859, allocations: 0 / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002239/0.5862, allocations: 5.469 kB / 0.7886 GB, free: 47.84 MB / 0.6544 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.0001309/0.5863, allocations: 102.7 kB / 0.7887 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.5865, allocations: 46.16 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5865, allocations: 0 / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.5866, allocations: 16.94 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5869, allocations: 14.45 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.5872, allocations: 133.5 kB / 0.7889 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.839e-05/0.5873, allocations: 0.6779 MB / 0.7896 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.5873, allocations: 13.34 kB / 0.7896 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.5873, allocations: 0 / 0.7896 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.001808/0.5891, allocations: 0.6435 MB / 0.7902 GB, free: 46.93 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)