Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105 kB / 15.99 MB, free: 6.344 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.001611/0.001611, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.338/1.338, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.68/1.68, allocations: 292.3 MB / 0.5492 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.001359/0.001359, allocations: 65.56 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2162, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001806/0.218, allocations: 0.651 MB / 0.7842 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2194, allocations: 1.141 MB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.2194, allocations: 0 / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.2194, allocations: 3.938 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.2197, allocations: 7.984 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.2197, allocations: 0 / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.358e-05/0.2197, allocations: 8 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.2198, allocations: 11.92 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.2198, allocations: 7.938 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.154e-05/0.2198, allocations: 3.938 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.393e-06/0.2198, allocations: 0 / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.2199, allocations: 19.98 kB / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.834e-06/0.22, allocations: 3.984 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.219e-05/0.22, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.373e-05/0.22, allocations: 7.984 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2201, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2201, allocations: 4 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2201, allocations: 7.938 kB / 0.7854 GB, free: 11.96 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.0002784/0.2204, allocations: 315.6 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2204, allocations: 8.031 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.2204, allocations: 0.9375 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2206, allocations: 168.3 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2206, allocations: 4.375 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.2206, allocations: 384 / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.2207, allocations: 38.02 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2207, allocations: 3.984 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2207, allocations: 4 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2208, allocations: 0 / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.683e-05/0.2208, allocations: 7.984 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.221, allocations: 157.9 kB / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.2212, allocations: 34.52 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.2212, allocations: 16.94 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.2214, allocations: 81.11 kB / 0.7862 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2214, allocations: 38.5 kB / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2214, allocations: 0 / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004322/0.2257, allocations: 0.5676 MB / 0.7868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2258, allocations: 51.41 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.23e-05/0.2258, allocations: 89.86 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2258, allocations: 29.7 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.2259, allocations: 84.14 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.2259, allocations: 11.8 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.226, allocations: 21.72 kB / 0.787 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2261, allocations: 314.8 kB / 0.7873 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.2267, allocations: 87.89 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.2274, allocations: 98.53 kB / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2285, allocations: 194.5 kB / 0.7877 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2285, allocations: 0 / 0.7877 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00123/0.2298, allocations: 213.5 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2298, allocations: 4 kB / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2298, allocations: 3.938 kB / 0.7879 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2298, allocations: 8.031 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.2302, allocations: 47.91 kB / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2302, allocations: 7.984 kB / 0.788 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.2306, allocations: 39.98 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2306, allocations: 8 kB / 0.788 GB, free: 8.992 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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.56e-05/0.2307, allocations: 109.8 kB / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2307, allocations: 7.844 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.2321, allocations: 249.2 kB / 0.7884 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2321, allocations: 0 / 0.7884 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2321, allocations: 0 / 0.7884 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2321, allocations: 4 kB / 0.7884 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.2336, allocations: 454.4 kB / 0.7888 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2336, allocations: 0 / 0.7888 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.234, allocations: 55.91 kB / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.234, allocations: 0 / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2341, allocations: 0 / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2341, allocations: 0 / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2341, allocations: 0 / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2354, allocations: 307.4 kB / 0.7891 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.2354, allocations: 77.11 kB / 0.7892 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2354, allocations: 4 kB / 0.7892 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.2358, allocations: 43.97 kB / 0.7893 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.2358, allocations: 0 / 0.7893 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2359, allocations: 4 kB / 0.7893 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.2359, allocations: 75.28 kB / 0.7893 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2359, allocations: 0 / 0.7893 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002523/0.2362, allocations: 11.98 kB / 0.7894 GB, free: 7.508 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 (5): * Single equations (assignments): 5 * 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.000163/0.2363, allocations: 122.2 kB / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.2376, allocations: 175.9 kB / 0.7896 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2376, allocations: 0 / 0.7896 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.2382, allocations: 96 kB / 0.7897 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2384, allocations: 8 kB / 0.7897 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2395, allocations: 246.5 kB / 0.79 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2398, allocations: 0.6807 MB / 0.7906 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.2399, allocations: 11.44 kB / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2399, allocations: 0 / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.002413/0.2423, allocations: 1.1 MB / 0.7917 GB, free: 5.016 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)