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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.686/0.686, allocations: 94.76 MB / 102.2 MB, free: 14.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001221/0.00122, allocations: 178 kB / 125.6 MB, free: 7.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.7/1.7, allocations: 170.6 MB / 319.4 MB, free: 1.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001647/0.001647, allocations: 113.8 kB / 381.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.795e-05, allocations: 4 kB / 449.1 MB, free: 44.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 61.52 MB / 0.4987 GB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6432, allocations: 93.01 MB / 0.5895 GB, free: 3.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.6434, allocations: 76.73 kB / 0.5896 GB, free: 3.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005394/0.6488, allocations: 1.987 MB / 0.5915 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6489, allocations: 8 kB / 0.5915 GB, free: 1.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.6489, allocations: 0 / 0.5915 GB, free: 1.711 MB / 394.7 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.000289/0.6492, allocations: 322.1 kB / 0.5918 GB, free: 1.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6492, allocations: 12.03 kB / 0.5918 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.6493, allocations: 0 / 0.5918 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.6494, allocations: 159.1 kB / 0.592 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.6494, allocations: 0 / 0.592 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.6494, allocations: 4 kB / 0.592 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.671e-05/0.6495, allocations: 3.938 kB / 0.592 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.358e-05/0.6496, allocations: 58.73 kB / 0.5921 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6496, allocations: 0 / 0.5921 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6496, allocations: 0 / 0.5921 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6496, allocations: 0 / 0.5921 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.6498, allocations: 135.1 kB / 0.5922 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.6498, allocations: 40.81 kB / 0.5922 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.6499, allocations: 17.78 kB / 0.5922 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.65, allocations: 81.09 kB / 0.5923 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.65, allocations: 38 kB / 0.5923 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.65, allocations: 0 / 0.5923 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009281/0.651, allocations: 400.9 kB / 0.5927 GB, free: 232 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.651, allocations: 81.23 kB / 0.5928 GB, free: 132 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.088e-05/0.6511, allocations: 85 kB / 0.5929 GB, free: 40 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6511, allocations: 25.7 kB / 0.5929 GB, free: 8 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.6511, allocations: 88.06 kB / 0.593 GB, free: 15.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.6512, allocations: 19.25 kB / 0.593 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.6512, allocations: 0 / 0.593 GB, free: 15.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6513, allocations: 314.8 kB / 0.5933 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.6513, allocations: 7.375 kB / 0.5933 GB, free: 15.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.6513, allocations: 22.58 kB / 0.5933 GB, free: 15.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.6514, allocations: 15.42 kB / 0.5934 GB, free: 15.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6514, allocations: 0 / 0.5934 GB, free: 15.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.79e-05/0.6515, allocations: 52.56 kB / 0.5934 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6515, allocations: 4 kB / 0.5934 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6515, allocations: 4 kB / 0.5934 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6515, allocations: 4.094 kB / 0.5934 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.6516, allocations: 8.125 kB / 0.5934 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6516, allocations: 4 kB / 0.5934 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.6517, allocations: 3.953 kB / 0.5934 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.6517, allocations: 7.984 kB / 0.5934 GB, free: 15.45 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.6517, allocations: 101 kB / 0.5935 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.6518, allocations: 4 kB / 0.5935 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.6519, allocations: 69.72 kB / 0.5936 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6519, allocations: 4 kB / 0.5936 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6519, allocations: 0 / 0.5936 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6519, allocations: 0 / 0.5936 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.652, allocations: 138.2 kB / 0.5937 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.652, allocations: 0 / 0.5937 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.6521, allocations: 11.94 kB / 0.5938 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6521, allocations: 0 / 0.5938 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.6521, allocations: 0 / 0.5938 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6521, allocations: 4.031 kB / 0.5938 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6522, allocations: 3.938 kB / 0.5938 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.6523, allocations: 101.9 kB / 0.5939 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.6523, allocations: 81.02 kB / 0.5939 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.6524, allocations: 4.031 kB / 0.5939 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.6524, allocations: 4.062 kB / 0.5939 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.6524, allocations: 3.984 kB / 0.594 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.6525, allocations: 4 kB / 0.594 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.622e-05/0.6525, allocations: 75.28 kB / 0.594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6525, allocations: 0 / 0.594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.6527, allocations: 39.89 kB / 0.5941 GB, free: 14.73 MB / 410.7 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 () * 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 (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.0002126/0.6529, allocations: 142.5 kB / 0.5942 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.521e-05/0.653, allocations: 19.92 kB / 0.5942 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.653, allocations: 4.188 kB / 0.5942 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.653, allocations: 15.31 kB / 0.5942 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.6531, allocations: 0 / 0.5942 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.6534, allocations: 74.38 kB / 0.5943 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.6536, allocations: 0.6807 MB / 0.595 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.6536, allocations: 12.05 kB / 0.595 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.6537, allocations: 7.438 kB / 0.595 GB, free: 13.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6537, allocations: 0 / 0.595 GB, free: 13.73 MB / 410.7 MB Notification: Performance of Templates: time 0.002671/0.6563, allocations: 0.6293 MB / 0.5956 GB, free: 13.12 MB / 410.7 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)