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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 194.4 kB / 16.14 MB, free: 6.652 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.727 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.5771/0.5771, allocations: 95.47 MB / 364.8 MB, free: 10.12 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.00146/0.00146, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4108, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002246/0.4131, allocations: 0.6045 MB / 0.5023 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005322/0.4136, allocations: 162.5 kB / 0.5025 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.4137, allocations: 3.938 kB / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.4137, allocations: 4 kB / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.4138, allocations: 0 / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.4141, allocations: 23.97 kB / 0.5025 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.4142, allocations: 15.94 kB / 0.5025 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.4142, allocations: 3.984 kB / 0.5025 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.4143, allocations: 4 kB / 0.5025 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.4144, allocations: 3.984 kB / 0.5025 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.4144, allocations: 4 kB / 0.5025 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.4145, allocations: 27.97 kB / 0.5025 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.4145, allocations: 15.98 kB / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.4145, allocations: 3.938 kB / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.4147, allocations: 27.95 kB / 0.5026 GB, free: 16.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4147, allocations: 0 / 0.5026 GB, free: 16.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4147, allocations: 0 / 0.5026 GB, free: 16.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.4147, allocations: 0 / 0.5026 GB, free: 16.72 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.0003523/0.4151, allocations: 323.6 kB / 0.5029 GB, free: 16.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4151, allocations: 19.92 kB / 0.5029 GB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4152, allocations: 4.844 kB / 0.5029 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.4152, allocations: 160.4 kB / 0.5031 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4153, allocations: 4.375 kB / 0.5031 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.4153, allocations: 7.938 kB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.4154, allocations: 47.41 kB / 0.5031 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4154, allocations: 3.984 kB / 0.5031 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4155, allocations: 0 / 0.5031 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4155, allocations: 4 kB / 0.5031 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.4155, allocations: 3.938 kB / 0.5031 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.4157, allocations: 162.5 kB / 0.5033 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.147e-05/0.4158, allocations: 45.22 kB / 0.5033 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.4158, allocations: 17.72 kB / 0.5034 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.4159, allocations: 81.09 kB / 0.5034 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.416, allocations: 42.56 kB / 0.5035 GB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.416, allocations: 0 / 0.5035 GB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.001055/0.417, allocations: 414.3 kB / 0.5039 GB, free: 15.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4171, allocations: 81.11 kB / 0.504 GB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.778e-05/0.4171, allocations: 89.86 kB / 0.504 GB, free: 14.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.4171, allocations: 25.7 kB / 0.5041 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.4171, allocations: 84.14 kB / 0.5041 GB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.4172, allocations: 23.86 kB / 0.5042 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.4172, allocations: 17.72 kB / 0.5042 GB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.4173, allocations: 314.8 kB / 0.5045 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.4173, allocations: 4 kB / 0.5045 GB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.4173, allocations: 22.58 kB / 0.5045 GB, free: 14.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.4174, allocations: 46.5 kB / 0.5046 GB, free: 14.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.4174, allocations: 3.938 kB / 0.5046 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.135e-05/0.4175, allocations: 65.59 kB / 0.5046 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4175, allocations: 4 kB / 0.5046 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4175, allocations: 4.109 kB / 0.5046 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4175, allocations: 4 kB / 0.5046 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.4176, allocations: 12 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4177, allocations: 0 / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.4177, allocations: 4.094 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4177, allocations: 7.984 kB / 0.5047 GB, free: 14.26 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.035e-05/0.4178, allocations: 117.7 kB / 0.5048 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.4178, allocations: 7.906 kB / 0.5048 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4179, allocations: 65.17 kB / 0.5048 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.418, allocations: 0 / 0.5048 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.418, allocations: 3.938 kB / 0.5048 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.418, allocations: 0 / 0.5048 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.639e-05/0.4181, allocations: 153.6 kB / 0.505 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4181, allocations: 0 / 0.505 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.4181, allocations: 8 kB / 0.505 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4181, allocations: 0 / 0.505 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4181, allocations: 4 kB / 0.505 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4182, allocations: 4 kB / 0.505 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4182, allocations: 0 / 0.505 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.4183, allocations: 93.94 kB / 0.5051 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.4183, allocations: 81.05 kB / 0.5052 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4183, allocations: 0 / 0.5052 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.4184, allocations: 11.95 kB / 0.5052 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.4184, allocations: 0 / 0.5052 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4184, allocations: 4 kB / 0.5052 GB, free: 13.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.384e-05/0.4184, allocations: 79.34 kB / 0.5053 GB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4184, allocations: 0 / 0.5053 GB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.4187, allocations: 28 kB / 0.5053 GB, free: 13.5 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.0001874/0.4189, allocations: 123.2 kB / 0.5054 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.011e-05/0.419, allocations: 27.92 kB / 0.5054 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.419, allocations: 0 / 0.5054 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.419, allocations: 8 kB / 0.5054 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.4192, allocations: 16.17 kB / 0.5055 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.4195, allocations: 120.1 kB / 0.5056 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.4196, allocations: 0.6731 MB / 0.5062 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.4196, allocations: 7.984 kB / 0.5062 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.4197, allocations: 11.44 kB / 0.5062 GB, free: 12.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4197, allocations: 3.938 kB / 0.5062 GB, free: 12.45 MB / 382.1 MB Notification: Performance of Templates: time 0.002917/0.4226, allocations: 0.7541 MB / 0.507 GB, free: 11.7 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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)