Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001179/0.001179, 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.00129/0.001291, allocations: 194.6 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.211/1.211, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.7 MB / 0.5092 GB, free: 3.137 MB / 414.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.001313/0.001313, allocations: 72.45 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3914, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001645/0.393, allocations: 0.5989 MB / 0.7251 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.3934, allocations: 159.4 kB / 0.7253 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.3935, allocations: 0 / 0.7253 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.3935, allocations: 3.938 kB / 0.7253 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.151e-05/0.3935, allocations: 0 / 0.7253 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3938, allocations: 43.89 kB / 0.7253 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.498e-05/0.3939, allocations: 12 kB / 0.7253 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.3939, allocations: 0 / 0.7253 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.3939, allocations: 15.91 kB / 0.7253 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.394, allocations: 12 kB / 0.7253 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.394, allocations: 0 / 0.7253 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.3941, allocations: 31.97 kB / 0.7254 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.3941, allocations: 3.984 kB / 0.7254 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.3941, allocations: 11.92 kB / 0.7254 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.3942, allocations: 27.91 kB / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3942, allocations: 0 / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3943, allocations: 0 / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3943, allocations: 0 / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003931/0.3947, allocations: 335.5 kB / 0.7257 GB, free: 11.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3947, allocations: 16.02 kB / 0.7258 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3947, allocations: 8.875 kB / 0.7258 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3949, allocations: 162.4 kB / 0.7259 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3949, allocations: 384 / 0.7259 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3949, allocations: 8.359 kB / 0.7259 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.395, allocations: 42.25 kB / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.395, allocations: 192 / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.395, allocations: 7.938 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.395, allocations: 0 / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.3951, allocations: 15.98 kB / 0.726 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.3952, allocations: 161.7 kB / 0.7261 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.3953, allocations: 46.5 kB / 0.7262 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.3954, allocations: 20.92 kB / 0.7262 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.882e-05/0.3955, allocations: 89.08 kB / 0.7263 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3955, allocations: 30.56 kB / 0.7263 GB, free: 10.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3955, allocations: 4 kB / 0.7263 GB, free: 10.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001172/0.3967, allocations: 495.2 kB / 0.7268 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.3967, allocations: 55.34 kB / 0.7269 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.3968, allocations: 97.84 kB / 0.7269 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3968, allocations: 25.7 kB / 0.727 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.3969, allocations: 84.14 kB / 0.7271 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3969, allocations: 15.72 kB / 0.7271 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3969, allocations: 25.83 kB / 0.7271 GB, free: 10.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.397, allocations: 314.8 kB / 0.7274 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.3971, allocations: 12 kB / 0.7274 GB, free: 9.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.3971, allocations: 11.98 kB / 0.7274 GB, free: 9.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.98e-05/0.3971, allocations: 36.84 kB / 0.7274 GB, free: 9.652 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3972, allocations: 3.938 kB / 0.7275 GB, free: 9.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.695e-05/0.3973, allocations: 73.86 kB / 0.7275 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3973, allocations: 7.938 kB / 0.7275 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3973, allocations: 4.062 kB / 0.7275 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3973, allocations: 4 kB / 0.7275 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.3974, allocations: 12 kB / 0.7275 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3974, allocations: 3.984 kB / 0.7276 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.3974, allocations: 4 kB / 0.7276 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3974, allocations: 0 / 0.7276 GB, free: 9.535 MB / 0.545 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 (8): * Single equations (assignments): 8 * 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.266e-05/0.3975, allocations: 117.8 kB / 0.7277 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3975, allocations: 11.83 kB / 0.7277 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.3977, allocations: 89.58 kB / 0.7278 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3977, allocations: 0 / 0.7278 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3977, allocations: 0 / 0.7278 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3977, allocations: 0 / 0.7278 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3978, allocations: 161.7 kB / 0.7279 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3978, allocations: 0 / 0.7279 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.3979, allocations: 19.98 kB / 0.7279 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3979, allocations: 3.938 kB / 0.7279 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3979, allocations: 0 / 0.7279 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3979, allocations: 4 kB / 0.7279 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3979, allocations: 0 / 0.7279 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3981, allocations: 117 kB / 0.7281 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.3981, allocations: 84.95 kB / 0.7281 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3981, allocations: 8.094 kB / 0.7281 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.3982, allocations: 4 kB / 0.7282 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.3982, allocations: 11.97 kB / 0.7282 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3982, allocations: 0 / 0.7282 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.3983, allocations: 83.34 kB / 0.7282 GB, free: 8.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3983, allocations: 0 / 0.7282 GB, free: 8.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002014/0.3985, allocations: 35.94 kB / 0.7283 GB, free: 8.691 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001746/0.3986, allocations: 127.2 kB / 0.7284 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3988, allocations: 47.91 kB / 0.7284 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3988, allocations: 4 kB / 0.7284 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.3988, allocations: 23.88 kB / 0.7285 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.399, allocations: 4.938 kB / 0.7285 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.3992, allocations: 145.4 kB / 0.7286 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3994, allocations: 0.6807 MB / 0.7293 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3995, allocations: 11.69 kB / 0.7293 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.3995, allocations: 15.44 kB / 0.7293 GB, free: 7.578 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.3995, allocations: 0 / 0.7293 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Templates: time 0.002759/0.4023, allocations: 0.8735 MB / 0.7302 GB, free: 6.738 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)