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.6291/0.6291, allocations: 94.69 MB / 107.3 MB, free: 5.195 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.00116/0.001161, allocations: 166.6 kB / 130.7 MB, free: 7.559 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.628/1.628, allocations: 170.5 MB / 324.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001612, allocations: 104.4 kB / 386.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.515e-05/4.517e-05, allocations: 8 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4955, allocations: 61.5 MB / 0.5054 GB, free: 49.81 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.6525, allocations: 93.3 MB / 0.5965 GB, free: 2.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.6529, allocations: 76.55 kB / 0.5966 GB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006045/0.659, allocations: 1.991 MB / 0.5985 GB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.659, allocations: 0 / 0.5985 GB, free: 288 kB / 410.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.6591, allocations: 0 / 0.5985 GB, free: 288 kB / 410.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.0003836/0.6595, allocations: 330.3 kB / 0.5988 GB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.6595, allocations: 8.031 kB / 0.5988 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.6596, allocations: 0.875 kB / 0.5988 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.6597, allocations: 163.1 kB / 0.599 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.6597, allocations: 4.781 kB / 0.599 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.6598, allocations: 4.516 kB / 0.599 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.6599, allocations: 51.36 kB / 0.5991 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6599, allocations: 0 / 0.5991 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.66, allocations: 3.938 kB / 0.5991 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.66, allocations: 3.422 kB / 0.5991 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.66, allocations: 9.125 kB / 0.5991 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.6602, allocations: 163.1 kB / 0.5992 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.6603, allocations: 42.84 kB / 0.5993 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.6604, allocations: 10.34 kB / 0.5993 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.6605, allocations: 90.28 kB / 0.5994 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.6605, allocations: 30.56 kB / 0.5994 GB, free: 15.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6606, allocations: 4.969 kB / 0.5994 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.001113/0.6617, allocations: 413 kB / 0.5998 GB, free: 14.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.6618, allocations: 77.11 kB / 0.5999 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.6618, allocations: 85 kB / 0.5999 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.6619, allocations: 30.2 kB / 0.6 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.6619, allocations: 85.19 kB / 0.6001 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.662, allocations: 15.75 kB / 0.6001 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.662, allocations: 0 / 0.6001 GB, free: 14.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6621, allocations: 318.6 kB / 0.6004 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.6621, allocations: 4 kB / 0.6004 GB, free: 14.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.6622, allocations: 23.95 kB / 0.6004 GB, free: 14.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.6622, allocations: 7.984 kB / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.6622, allocations: 0 / 0.6004 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.697e-05/0.6623, allocations: 64.34 kB / 0.6005 GB, free: 13.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.6624, allocations: 9.094 kB / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6624, allocations: 0 / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6624, allocations: 0 / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.6625, allocations: 16.8 kB / 0.6005 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6625, allocations: 0 / 0.6005 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.6625, allocations: 5.156 kB / 0.6005 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.6625, allocations: 3.984 kB / 0.6005 GB, free: 13.96 MB / 426.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 9.089e-05/0.6626, allocations: 109.3 kB / 0.6006 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.6627, allocations: 2.625 kB / 0.6006 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.6629, allocations: 65.11 kB / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6629, allocations: 0 / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6629, allocations: 4.891 kB / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6629, allocations: 4 kB / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.6631, allocations: 159.7 kB / 0.6008 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6631, allocations: 3.938 kB / 0.6008 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.6631, allocations: 4 kB / 0.6008 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6631, allocations: 4.281 kB / 0.6008 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.6631, allocations: 6.812 kB / 0.6009 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6632, allocations: 0 / 0.6009 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6632, allocations: 1.875 kB / 0.6009 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.6633, allocations: 107.5 kB / 0.601 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.6634, allocations: 82.69 kB / 0.601 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.6634, allocations: 0 / 0.601 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.6635, allocations: 8.062 kB / 0.601 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.6635, allocations: 11.94 kB / 0.6011 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.6635, allocations: 0 / 0.6011 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.6636, allocations: 75.28 kB / 0.6011 GB, free: 13.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6636, allocations: 0 / 0.6011 GB, free: 13.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.6638, allocations: 35.94 kB / 0.6012 GB, free: 13.19 MB / 426.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.000241/0.664, allocations: 141.7 kB / 0.6013 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.6641, allocations: 27.92 kB / 0.6013 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.6642, allocations: 4 kB / 0.6013 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.6642, allocations: 11.94 kB / 0.6013 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.6643, allocations: 3.922 kB / 0.6013 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.6645, allocations: 80.52 kB / 0.6014 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.6648, allocations: 0.677 MB / 0.6021 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.6649, allocations: 9.891 kB / 0.6021 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.6649, allocations: 11.44 kB / 0.6021 GB, free: 12.19 MB / 426.7 MB Notification: Performance of SimCode: time 2.324e-06/0.6649, allocations: 0 / 0.6021 GB, free: 12.19 MB / 426.7 MB Notification: Performance of Templates: time 0.002893/0.6678, allocations: 0.6386 MB / 0.6027 GB, free: 11.6 MB / 426.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)