Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.9 MB / 297.4 MB, free: 6.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 188.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009679/0.0009676, allocations: 97.84 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.088e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5496, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.7159, allocations: 137.8 MB / 1.108 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.7162, allocations: 75.89 kB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005381/0.7216, allocations: 2.023 MB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.606e-06/0.7216, allocations: 4.672 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.7216, allocations: 0.7812 kB / 1.11 GB, free: 10.34 MB / 0.7136 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.0003014/0.7219, allocations: 327.1 kB / 1.11 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.722, allocations: 12.03 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.722, allocations: 0.875 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7221, allocations: 163 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.7222, allocations: 4.781 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.7222, allocations: 3.906 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.438e-05/0.7223, allocations: 12.86 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.134e-05/0.7224, allocations: 42.3 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7224, allocations: 0 / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.7224, allocations: 0.7188 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7224, allocations: 0 / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.7226, allocations: 138.8 kB / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.7227, allocations: 48.08 kB / 1.111 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.7227, allocations: 19.89 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.7228, allocations: 81.61 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.7229, allocations: 36.36 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.7229, allocations: 0.875 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001121/0.724, allocations: 449.8 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.7241, allocations: 56.72 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.7241, allocations: 85 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7242, allocations: 29.64 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.7242, allocations: 83.33 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.7242, allocations: 30.08 kB / 1.111 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.7243, allocations: 0 / 1.111 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7244, allocations: 310.8 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.7244, allocations: 12 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.7244, allocations: 11.98 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.7245, allocations: 15.81 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.7245, allocations: 0 / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001053/0.7246, allocations: 64.38 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7246, allocations: 8 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7247, allocations: 0 / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7247, allocations: 0 / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.7248, allocations: 15.98 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.7248, allocations: 0 / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.7248, allocations: 3.938 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.7248, allocations: 0 / 1.112 GB, free: 8.062 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.7249, allocations: 110.3 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.7249, allocations: 7.859 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.7251, allocations: 74.94 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.7251, allocations: 12.72 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7251, allocations: 2.5 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7251, allocations: 1.438 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.7253, allocations: 134.2 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7253, allocations: 4 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.7254, allocations: 11.94 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7254, allocations: 6.188 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7254, allocations: 0 / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.7254, allocations: 9.344 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7254, allocations: 0 / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.7256, allocations: 113.1 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.7256, allocations: 77.11 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.7257, allocations: 0 / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.7257, allocations: 11.95 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.7257, allocations: 3.953 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.7257, allocations: 4 kB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.7258, allocations: 75.28 kB / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7258, allocations: 0 / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002378/0.726, allocations: 47.92 kB / 1.113 GB, free: 7.289 MB / 0.7136 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 () * 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 (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.000211/0.7262, allocations: 145.1 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.7263, allocations: 35.98 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7264, allocations: 1.875 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.7264, allocations: 19.94 kB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.7265, allocations: 3.234 kB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.7268, allocations: 93.88 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.727, allocations: 0.6885 MB / 1.113 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.7271, allocations: 5.438 kB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.7271, allocations: 11.44 kB / 1.113 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7271, allocations: 0 / 1.113 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of Templates: time 0.002474/0.7296, allocations: 0.7165 MB / 1.114 GB, free: 5.578 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)