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.001019/0.001019, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009888, allocations: 196.4 kB / 16.53 MB, free: 6.656 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.259/1.259, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.609/1.609, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001349/0.001349, allocations: 75.38 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00183/0.2018, allocations: 0.5822 MB / 0.784 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.203, allocations: 1.14 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.2031, allocations: 0 / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.2031, allocations: 0 / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.2033, allocations: 23.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.2033, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.2034, allocations: 7.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2034, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.2034, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.613e-05/0.2035, allocations: 11.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.2035, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.2036, allocations: 19.98 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-06/0.2036, allocations: 7.938 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.225e-05/0.2036, allocations: 3.938 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.2037, allocations: 15.91 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2037, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2037, allocations: 4 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2037, allocations: 0 / 0.7852 GB, free: 11.65 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.0002462/0.204, allocations: 323.6 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.204, allocations: 8.031 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.204, allocations: 0.9375 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/0.2041, allocations: 164.4 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2041, allocations: 8.375 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2042, allocations: 384 / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.2043, allocations: 42 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2043, allocations: 3.938 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2043, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2043, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.2043, allocations: 7.984 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.2045, allocations: 153.9 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.2047, allocations: 38.61 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.2047, allocations: 8.859 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2048, allocations: 85.19 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2049, allocations: 42.44 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2049, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004184/0.209, allocations: 0.5676 MB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2091, allocations: 51.41 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.272e-05/0.2091, allocations: 93.86 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2092, allocations: 29.7 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.2092, allocations: 84.14 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.2092, allocations: 11.8 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.2093, allocations: 17.72 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.2094, allocations: 310.8 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.21, allocations: 87.95 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.2106, allocations: 102.5 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.2118, allocations: 194.4 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2118, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001233/0.213, allocations: 213.5 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.213, allocations: 7.938 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.213, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2131, allocations: 4 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.2134, allocations: 48 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2135, allocations: 3.984 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.2138, allocations: 43.98 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2139, allocations: 4 kB / 0.7878 GB, free: 8.68 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.189e-05/0.2139, allocations: 109.8 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.214, allocations: 7.844 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.2154, allocations: 253 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2154, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2154, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2154, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2169, allocations: 458.4 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2169, allocations: 0 / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2173, allocations: 51.97 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2173, allocations: 0 / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2173, allocations: 4.312 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2173, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2173, allocations: 4 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.2186, allocations: 303.4 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2186, allocations: 77.53 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2187, allocations: 0 / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.219, allocations: 51.91 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.2191, allocations: 0 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2191, allocations: 4 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.678e-05/0.2191, allocations: 79.28 kB / 0.7891 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2191, allocations: 0 / 0.7891 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002442/0.2194, allocations: 8 kB / 0.7892 GB, free: 7.188 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.000171/0.2195, allocations: 115.2 kB / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.2208, allocations: 187.8 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2208, allocations: 0 / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.2214, allocations: 92.06 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2216, allocations: 8 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2228, allocations: 216.8 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.223, allocations: 0.6767 MB / 0.7904 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.2232, allocations: 35.98 kB / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.2233, allocations: 7.438 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2233, allocations: 0 / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.002778/0.2261, allocations: 0.8123 MB / 0.7912 GB, free: 4.984 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)