Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 152 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.001373/0.001373, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.491/1.491, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6384/0.6384, allocations: 95.48 MB / 365.2 MB, free: 9.875 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001757, allocations: 67.91 kB / 445.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3465, allocations: 69.07 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00215/0.3487, allocations: 1.408 MB / 0.5037 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.3491, allocations: 176 kB / 0.5039 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.3492, allocations: 4 kB / 0.5039 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.3492, allocations: 3.984 kB / 0.5039 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.3492, allocations: 3.938 kB / 0.5039 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3495, allocations: 39.91 kB / 0.504 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.3496, allocations: 23.92 kB / 0.504 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.3497, allocations: 7.984 kB / 0.504 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.3497, allocations: 4 kB / 0.504 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.3498, allocations: 15.92 kB / 0.504 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.3498, allocations: 4 kB / 0.504 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.3499, allocations: 31.97 kB / 0.504 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.3499, allocations: 4 kB / 0.504 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.3499, allocations: 11.92 kB / 0.5041 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.35, allocations: 43.88 kB / 0.5041 GB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.35, allocations: 4 kB / 0.5041 GB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.35, allocations: 0 / 0.5041 GB, free: 15.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.35, allocations: 4 kB / 0.5041 GB, free: 15.58 MB / 382.1 MB 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.0003821/0.3504, allocations: 337.4 kB / 0.5044 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3505, allocations: 15.98 kB / 0.5044 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3505, allocations: 4.844 kB / 0.5044 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.664e-05/0.3506, allocations: 168.3 kB / 0.5046 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3506, allocations: 4.375 kB / 0.5046 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3506, allocations: 11.88 kB / 0.5046 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3508, allocations: 49.67 kB / 0.5047 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3508, allocations: 0 / 0.5047 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3508, allocations: 0 / 0.5047 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3508, allocations: 0 / 0.5047 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.351, allocations: 31.97 kB / 0.5047 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.3513, allocations: 256.9 kB / 0.5049 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3515, allocations: 42.44 kB / 0.505 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.3515, allocations: 28.84 kB / 0.505 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.3516, allocations: 81.09 kB / 0.5051 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.3516, allocations: 34.56 kB / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3516, allocations: 4 kB / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.352, allocations: 85.55 kB / 0.5052 GB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.352, allocations: 51.41 kB / 0.5053 GB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.3521, allocations: 101.8 kB / 0.5054 GB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.3521, allocations: 25.7 kB / 0.5054 GB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.3521, allocations: 92.12 kB / 0.5055 GB, free: 13.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.3521, allocations: 8.031 kB / 0.5055 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.3522, allocations: 13.72 kB / 0.5055 GB, free: 13.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.3523, allocations: 318.8 kB / 0.5058 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.3523, allocations: 11.98 kB / 0.5058 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.3524, allocations: 23.97 kB / 0.5058 GB, free: 13.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3526, allocations: 36.89 kB / 0.5059 GB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3526, allocations: 0 / 0.5059 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001689/0.3527, allocations: 65.66 kB / 0.5059 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3528, allocations: 4 kB / 0.5059 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3528, allocations: 4 kB / 0.5059 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3528, allocations: 3.938 kB / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.3529, allocations: 7.984 kB / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3529, allocations: 0 / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.3529, allocations: 8.031 kB / 0.5059 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.353, allocations: 0 / 0.5059 GB, free: 13.45 MB / 382.1 MB 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 4.668e-05/0.353, allocations: 121.8 kB / 0.5061 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.353, allocations: 0 / 0.5061 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3532, allocations: 72.98 kB / 0.5061 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3533, allocations: 0 / 0.5061 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3533, allocations: 8.031 kB / 0.5061 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3533, allocations: 0 / 0.5061 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3534, allocations: 169.6 kB / 0.5063 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3534, allocations: 0 / 0.5063 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.3535, allocations: 11.94 kB / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3535, allocations: 0 / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3535, allocations: 0 / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3535, allocations: 3.938 kB / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3535, allocations: 3.984 kB / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3537, allocations: 167.4 kB / 0.5065 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.3537, allocations: 81.09 kB / 0.5066 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3537, allocations: 4 kB / 0.5066 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3538, allocations: 4 kB / 0.5066 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3538, allocations: 7.922 kB / 0.5066 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3539, allocations: 0 / 0.5066 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.167e-05/0.3539, allocations: 83.31 kB / 0.5067 GB, free: 12.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3539, allocations: 0 / 0.5067 GB, free: 12.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3541, allocations: 23.94 kB / 0.5067 GB, free: 12.6 MB / 382.1 MB 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.0001244/0.3542, allocations: 103.2 kB / 0.5068 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.3545, allocations: 39.91 kB / 0.5068 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3545, allocations: 0 / 0.5068 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.3546, allocations: 24.05 kB / 0.5068 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3548, allocations: 7.922 kB / 0.5068 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.3551, allocations: 105.5 kB / 0.5069 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3552, allocations: 0.6729 MB / 0.5076 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.081e-05/0.3553, allocations: 0 / 0.5076 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.3553, allocations: 11.5 kB / 0.5076 GB, free: 11.58 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3553, allocations: 0 / 0.5076 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Templates: time 0.002491/0.3578, allocations: 0.5863 MB / 0.5082 GB, free: 11 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)