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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, 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.001058/0.001058, allocations: 192.1 kB / 16.13 MB, free: 6.711 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.397/1.397, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.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.001299/0.001299, allocations: 65.91 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2196, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001672/0.2213, allocations: 0.6764 MB / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003942/0.2217, allocations: 163.5 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.2218, allocations: 0 / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.2218, allocations: 0 / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.997e-05/0.2218, allocations: 0 / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.222, allocations: 31.89 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.747e-05/0.2221, allocations: 19.94 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.2221, allocations: 4 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.2221, allocations: 7.984 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.2222, allocations: 4 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2222, allocations: 7.984 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.2223, allocations: 39.91 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2223, allocations: 3.984 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.2223, allocations: 8 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.2224, allocations: 27.89 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2224, allocations: 0 / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.031e-06/0.2224, allocations: 0 / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.2224, allocations: 4 kB / 0.7836 GB, free: 13.04 MB / 0.6075 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.0003504/0.2228, allocations: 327.6 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2229, allocations: 8.031 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.2229, allocations: 8.828 kB / 0.784 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.223, allocations: 172.5 kB / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2231, allocations: 384 / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2231, allocations: 4.375 kB / 0.7841 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2232, allocations: 42.25 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2232, allocations: 4.188 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2232, allocations: 3.938 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2232, allocations: 4 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.2233, allocations: 15.98 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.2234, allocations: 153.7 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.122e-05/0.2235, allocations: 50.5 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.2236, allocations: 16.98 kB / 0.7844 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-05/0.2237, allocations: 89.09 kB / 0.7845 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2237, allocations: 34.5 kB / 0.7845 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2237, allocations: 4 kB / 0.7845 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001213/0.2249, allocations: 492.2 kB / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2249, allocations: 55.41 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/0.225, allocations: 93.84 kB / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.225, allocations: 37.77 kB / 0.7852 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.2251, allocations: 80.14 kB / 0.7853 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2251, allocations: 23.66 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.2251, allocations: 25.7 kB / 0.7853 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.2252, allocations: 310.8 kB / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.2253, allocations: 12 kB / 0.7856 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.2253, allocations: 11.98 kB / 0.7856 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.2254, allocations: 32.86 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2254, allocations: 4 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001049/0.2255, allocations: 73.81 kB / 0.7857 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2255, allocations: 11.94 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2255, allocations: 80 / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2255, allocations: 3.984 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.2256, allocations: 15.94 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2256, allocations: 3.984 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.2257, allocations: 0 / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2257, allocations: 8 kB / 0.7858 GB, free: 10.54 MB / 0.6075 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 5.981e-05/0.2257, allocations: 109.8 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.2258, allocations: 7.938 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.2259, allocations: 85.56 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2259, allocations: 0 / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2259, allocations: 0 / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.226, allocations: 4 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2261, allocations: 161.7 kB / 0.7861 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2261, allocations: 0 / 0.7861 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/0.2262, allocations: 11.98 kB / 0.7861 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2262, allocations: 11.94 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2262, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2262, allocations: 192 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2262, allocations: 7.938 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.2264, allocations: 120.9 kB / 0.7863 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.2264, allocations: 85.08 kB / 0.7864 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2265, allocations: 0 / 0.7864 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.2265, allocations: 0 / 0.7864 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.2265, allocations: 12.05 kB / 0.7864 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.2265, allocations: 8 kB / 0.7864 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.2266, allocations: 75.28 kB / 0.7865 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2266, allocations: 3.938 kB / 0.7865 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002162/0.2268, allocations: 28 kB / 0.7865 GB, free: 9.715 MB / 0.6075 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.0002169/0.227, allocations: 135.2 kB / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2271, allocations: 39.92 kB / 0.7866 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2271, allocations: 4.094 kB / 0.7867 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.2272, allocations: 23.98 kB / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.2273, allocations: 0 / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.2276, allocations: 147.2 kB / 0.7868 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2278, allocations: 0.6848 MB / 0.7875 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.2279, allocations: 11.94 kB / 0.7875 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.2279, allocations: 11.44 kB / 0.7875 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2279, allocations: 0 / 0.7875 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.002693/0.2306, allocations: 0.8604 MB / 0.7883 GB, free: 7.75 MB / 0.6075 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)