Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005329/0.00533, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.288/1.288, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.648/1.648, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000555/0.000555, allocations: 14.25 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2177, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001464/0.2192, allocations: 1.152 MB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00039/0.2196, allocations: 200.3 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.2196, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.2196, allocations: 3.938 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.2197, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2199, allocations: 35.89 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.2199, allocations: 16 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.22, allocations: 11.98 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.2201, allocations: 4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.2201, allocations: 15.86 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.2201, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.2202, allocations: 31.97 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.2202, allocations: 7.984 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.2203, allocations: 37.62 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.541e-05/0.2204, allocations: 35.89 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2204, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2204, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.2204, allocations: 4 kB / 0.7894 GB, free: 10.02 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.0003702/0.2208, allocations: 339.7 kB / 0.7897 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.2208, allocations: 12.03 kB / 0.7897 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.2208, allocations: 0.9375 kB / 0.7897 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.2209, allocations: 172.4 kB / 0.7899 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.221, allocations: 384 / 0.7899 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.221, allocations: 4.375 kB / 0.7899 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.2211, allocations: 54.23 kB / 0.7899 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2212, allocations: 192 / 0.7899 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2212, allocations: 7.938 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2212, allocations: 7.938 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.2214, allocations: 47.91 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2217, allocations: 252.9 kB / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2218, allocations: 42.5 kB / 0.7903 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.2219, allocations: 37.91 kB / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.222, allocations: 85.09 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.222, allocations: 30.56 kB / 0.7904 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.222, allocations: 0 / 0.7904 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003543/0.2224, allocations: 101.6 kB / 0.7905 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2224, allocations: 55.41 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.2225, allocations: 97.86 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2225, allocations: 25.83 kB / 0.7907 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2225, allocations: 92.12 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.2226, allocations: 3.906 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.2226, allocations: 9.719 kB / 0.7908 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.2227, allocations: 314.8 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.2228, allocations: 19.98 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.2229, allocations: 27.97 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.223, allocations: 52.77 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.223, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.2232, allocations: 81.66 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2233, allocations: 4 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2233, allocations: 0 / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2233, allocations: 3.984 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.2234, allocations: 20.02 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2234, allocations: 0 / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.2234, allocations: 11.94 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2235, allocations: 0 / 0.7913 GB, free: 7.801 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.746e-05/0.2235, allocations: 113.8 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.2236, allocations: 7.891 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.2238, allocations: 88.72 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2238, allocations: 0 / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2238, allocations: 0 / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2238, allocations: 4 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.224, allocations: 157.6 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.224, allocations: 0 / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.224, allocations: 16.02 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.224, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2241, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2241, allocations: 4.188 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2241, allocations: 4 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.2243, allocations: 179.4 kB / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.2244, allocations: 89.03 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.2244, allocations: 0 / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.2245, allocations: 8 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2245, allocations: 3.984 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2245, allocations: 0 / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.2246, allocations: 87.31 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2246, allocations: 4 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002183/0.2248, allocations: 12 kB / 0.7921 GB, free: 6.938 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.0001329/0.2249, allocations: 103.2 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.2252, allocations: 47.97 kB / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2252, allocations: 0 / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.2253, allocations: 27.92 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2255, allocations: 10.75 kB / 0.7922 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.2258, allocations: 120.7 kB / 0.7924 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2261, allocations: 0.677 MB / 0.793 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.2261, allocations: 0 / 0.793 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2261, allocations: 11.44 kB / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2261, allocations: 0 / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of Templates: time 0.002445/0.2286, allocations: 0.5044 MB / 0.7935 GB, free: 5.383 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: