Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, 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.007226/0.007227, allocations: 172.5 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.671/1.671, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.717/0.717, allocations: 95.62 MB / 366.4 MB, free: 10.24 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.0005696/0.0005697, allocations: 20.66 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4457, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007117/0.4465, allocations: 284.9 kB / 0.5059 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000423/0.4469, allocations: 158.5 kB / 0.5061 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-06/0.447, allocations: 0 / 0.5061 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.452e-06/0.447, allocations: 0 / 0.5061 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.447, allocations: 0 / 0.5061 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.4473, allocations: 39.91 kB / 0.5061 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.241e-05/0.4473, allocations: 7.938 kB / 0.5061 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.4473, allocations: 4 kB / 0.5061 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.4474, allocations: 7.984 kB / 0.5061 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.4474, allocations: 7.984 kB / 0.5062 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.4474, allocations: 0 / 0.5062 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.4475, allocations: 31.97 kB / 0.5062 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.4475, allocations: 0 / 0.5062 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.4476, allocations: 37.62 kB / 0.5062 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.217e-05/0.4477, allocations: 31.95 kB / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4477, allocations: 0 / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4477, allocations: 4 kB / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.4477, allocations: 0 / 0.5063 GB, free: 15.73 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.0002153/0.4479, allocations: 311.6 kB / 0.5066 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.448, allocations: 15.98 kB / 0.5066 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.448, allocations: 4.844 kB / 0.5066 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.4481, allocations: 164.4 kB / 0.5067 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.4481, allocations: 384 / 0.5067 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.4481, allocations: 7.938 kB / 0.5067 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.4482, allocations: 55.34 kB / 0.5068 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.4482, allocations: 0 / 0.5068 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.4483, allocations: 0 / 0.5068 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4483, allocations: 4 kB / 0.5068 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.36e-05/0.4483, allocations: 4 kB / 0.5068 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.4484, allocations: 158.5 kB / 0.507 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.4485, allocations: 49.16 kB / 0.507 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.4485, allocations: 17.77 kB / 0.507 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.82e-05/0.4486, allocations: 85.09 kB / 0.5071 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4486, allocations: 34.56 kB / 0.5071 GB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.4487, allocations: 0 / 0.5071 GB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.001085/0.4497, allocations: 430.3 kB / 0.5075 GB, free: 14.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.4498, allocations: 77.11 kB / 0.5076 GB, free: 14.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.597e-05/0.4498, allocations: 89.86 kB / 0.5077 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.4498, allocations: 29.7 kB / 0.5077 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.4499, allocations: 80.14 kB / 0.5078 GB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.4499, allocations: 19.73 kB / 0.5078 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.4499, allocations: 13.72 kB / 0.5078 GB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.45, allocations: 318.8 kB / 0.5081 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.45, allocations: 4 kB / 0.5081 GB, free: 13.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.4501, allocations: 30.56 kB / 0.5082 GB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.4501, allocations: 30.58 kB / 0.5082 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4501, allocations: 0 / 0.5082 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000117/0.4503, allocations: 69.5 kB / 0.5083 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4503, allocations: 10.19 kB / 0.5083 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4503, allocations: 3.938 kB / 0.5083 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4503, allocations: 0 / 0.5083 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.4504, allocations: 11.98 kB / 0.5083 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.4504, allocations: 0 / 0.5083 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.4505, allocations: 4 kB / 0.5083 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.4505, allocations: 0 / 0.5083 GB, free: 13.29 MB / 382.1 MB 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 6.64e-05/0.4505, allocations: 121.9 kB / 0.5084 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.4506, allocations: 3.906 kB / 0.5084 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.4507, allocations: 61.11 kB / 0.5085 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4507, allocations: 0 / 0.5085 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4507, allocations: 4 kB / 0.5085 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4508, allocations: 0 / 0.5085 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.558e-05/0.4509, allocations: 161.6 kB / 0.5086 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4509, allocations: 96 / 0.5086 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.4509, allocations: 8 kB / 0.5086 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.451, allocations: 3.984 kB / 0.5086 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.451, allocations: 3.984 kB / 0.5086 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.451, allocations: 0 / 0.5086 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.451, allocations: 3.938 kB / 0.5087 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.4512, allocations: 93.92 kB / 0.5087 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.4512, allocations: 85.12 kB / 0.5088 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4512, allocations: 0 / 0.5088 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.4513, allocations: 3.938 kB / 0.5088 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.4513, allocations: 4 kB / 0.5088 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4513, allocations: 0 / 0.5088 GB, free: 12.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.176e-05/0.4514, allocations: 75.28 kB / 0.5089 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4514, allocations: 0 / 0.5089 GB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.4517, allocations: 35.98 kB / 0.5089 GB, free: 12.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y) * 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 (4): * Single equations (assignments): 4 * 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.0002089/0.4519, allocations: 131.2 kB / 0.5091 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.452, allocations: 19.98 kB / 0.5091 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.452, allocations: 0 / 0.5091 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.4521, allocations: 15.92 kB / 0.5091 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.4523, allocations: 7.938 kB / 0.5091 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.4525, allocations: 125.2 kB / 0.5092 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.4527, allocations: 0.677 MB / 0.5099 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.954e-05/0.4527, allocations: 4 kB / 0.5099 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.4528, allocations: 15.42 kB / 0.5099 GB, free: 11.47 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4528, allocations: 0 / 0.5099 GB, free: 11.47 MB / 382.1 MB Notification: Performance of Templates: time 0.003685/0.4565, allocations: 0.7491 MB / 0.5106 GB, free: 10.73 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: