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.0008637/0.0008636, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.1 MB, free: 5.367 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.6795/0.6795, allocations: 95.62 MB / 366 MB, free: 10.32 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.0006148/0.0006149, allocations: 12 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4065, allocations: 70.34 MB / 0.5051 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00142/0.408, allocations: 1.122 MB / 0.5062 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.4083, allocations: 160.1 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.4084, allocations: 0 / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.4084, allocations: 0 / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.4085, allocations: 3.938 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.4087, allocations: 27.97 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.4087, allocations: 15.94 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.4088, allocations: 15.97 kB / 0.5064 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.4089, allocations: 11.94 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.4089, allocations: 11.98 kB / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.4089, allocations: 0 / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.409, allocations: 27.97 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.409, allocations: 0 / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.4091, allocations: 33.64 kB / 0.5065 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.43e-05/0.4091, allocations: 23.94 kB / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4092, allocations: 0 / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4092, allocations: 0 / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.4092, allocations: 0 / 0.5065 GB, free: 14.99 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.000346/0.4095, allocations: 353.3 kB / 0.5068 GB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4096, allocations: 11.98 kB / 0.5068 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.4096, allocations: 8 kB / 0.5068 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.4097, allocations: 166.9 kB / 0.507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4097, allocations: 0 / 0.507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.4097, allocations: 4 kB / 0.507 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.4099, allocations: 61.62 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4099, allocations: 0 / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.4099, allocations: 4 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4099, allocations: 0 / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.4101, allocations: 51.89 kB / 0.5071 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.4103, allocations: 248.8 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.4105, allocations: 46.59 kB / 0.5074 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.4105, allocations: 28.91 kB / 0.5074 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.506e-05/0.4106, allocations: 81.11 kB / 0.5075 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4106, allocations: 38.48 kB / 0.5075 GB, free: 13.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4107, allocations: 3.938 kB / 0.5075 GB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003086/0.411, allocations: 97.66 kB / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.411, allocations: 51.41 kB / 0.5077 GB, free: 13.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.4111, allocations: 101.8 kB / 0.5078 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.4111, allocations: 29.7 kB / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.4111, allocations: 80.14 kB / 0.5079 GB, free: 13.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.4111, allocations: 8.031 kB / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.4111, allocations: 0 / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.4112, allocations: 318.8 kB / 0.5082 GB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.4113, allocations: 19.98 kB / 0.5082 GB, free: 12.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.093e-05/0.4113, allocations: 27.98 kB / 0.5082 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.4114, allocations: 15.98 kB / 0.5083 GB, free: 12.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4114, allocations: 0 / 0.5083 GB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000163/0.4116, allocations: 89.61 kB / 0.5084 GB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4116, allocations: 8 kB / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4116, allocations: 0 / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4116, allocations: 3.984 kB / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.4117, allocations: 11.98 kB / 0.5084 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4117, allocations: 0 / 0.5084 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.4118, allocations: 11.98 kB / 0.5084 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4118, allocations: 4.031 kB / 0.5084 GB, free: 12.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.4119, allocations: 105.8 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.4119, allocations: 11.86 kB / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.4121, allocations: 92.67 kB / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4121, allocations: 0 / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4121, allocations: 0 / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4121, allocations: 0 / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.4122, allocations: 157.7 kB / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4122, allocations: 0 / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.4123, allocations: 15.98 kB / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4123, allocations: 7.891 kB / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4123, allocations: 256 / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4123, allocations: 0 / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4123, allocations: 8.031 kB / 0.5088 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.4125, allocations: 167.5 kB / 0.5089 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.4125, allocations: 85.05 kB / 0.509 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.4125, allocations: 7.984 kB / 0.509 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.4126, allocations: 11.98 kB / 0.509 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.4127, allocations: 4 kB / 0.509 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4127, allocations: 0 / 0.509 GB, free: 12.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.4127, allocations: 83.28 kB / 0.5091 GB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4127, allocations: 3.938 kB / 0.5091 GB, free: 11.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.4129, allocations: 11.98 kB / 0.5091 GB, free: 11.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.413, allocations: 107.2 kB / 0.5092 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.4132, allocations: 39.97 kB / 0.5093 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4133, allocations: 4 kB / 0.5093 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.4133, allocations: 32.03 kB / 0.5093 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4136, allocations: 6.438 kB / 0.5093 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.4138, allocations: 116.5 kB / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.414, allocations: 0.6731 MB / 0.5101 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.414, allocations: 3.984 kB / 0.5101 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.414, allocations: 15.5 kB / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.414, allocations: 0 / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.002338/0.4164, allocations: 495.7 kB / 0.5106 GB, free: 10.41 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: