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.001224/0.001224, 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.001223/0.001223, allocations: 196.9 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.219/1.219, 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 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.001431/0.001431, allocations: 76 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1995, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001751/0.2013, allocations: 0.6017 MB / 0.784 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.2017, allocations: 163.5 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.2017, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.2017, allocations: 4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.751e-05/0.2017, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.202, allocations: 47.77 kB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.2021, allocations: 15.94 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.2021, allocations: 7.984 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.2021, allocations: 7.984 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.2022, allocations: 4 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2022, allocations: 3.938 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.2023, allocations: 35.95 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2023, allocations: 4 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.2023, allocations: 7.984 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.2024, allocations: 31.83 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2024, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2024, allocations: 8 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2024, allocations: 0 / 0.7843 GB, free: 12.56 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.0003363/0.2028, allocations: 327.6 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.2028, allocations: 12.03 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.2029, allocations: 4.844 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.203, allocations: 164.6 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.203, allocations: 4.375 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.203, allocations: 4.375 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.2031, allocations: 50.19 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2031, allocations: 192 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2031, allocations: 3.938 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2031, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.2032, allocations: 15.98 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2033, allocations: 161.7 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.812e-05/0.2034, allocations: 42.62 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.2035, allocations: 24.91 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.2036, allocations: 89.05 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2036, allocations: 30.56 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.2036, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001161/0.2048, allocations: 488.3 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2048, allocations: 51.41 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.2049, allocations: 97.95 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2049, allocations: 29.73 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.2049, allocations: 80.14 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.205, allocations: 23.66 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.205, allocations: 21.7 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.2051, allocations: 314.8 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.2051, allocations: 11.98 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.2052, allocations: 19.92 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.2052, allocations: 40.84 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2053, allocations: 4 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.915e-05/0.2054, allocations: 65.59 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2054, allocations: 8.875 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2054, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2054, allocations: 4 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.2055, allocations: 8 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.2055, allocations: 3.938 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.2055, allocations: 8 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2055, allocations: 3.984 kB / 0.7864 GB, free: 10.08 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 6.114e-05/0.2056, allocations: 113.8 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2056, allocations: 3.938 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.2058, allocations: 81.64 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2058, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2058, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2058, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2059, allocations: 173.8 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2059, allocations: 7.984 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.206, allocations: 15.94 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.206, allocations: 7.938 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.206, allocations: 4 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.206, allocations: 3.938 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.206, allocations: 0 / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.2062, allocations: 117.4 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.2062, allocations: 81.08 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2063, allocations: 7.984 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.2063, allocations: 0 / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.2063, allocations: 12 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.2064, allocations: 4 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.2064, allocations: 79.28 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2064, allocations: 0 / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002278/0.2066, allocations: 31.98 kB / 0.7871 GB, free: 9.242 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.0001817/0.2068, allocations: 131.2 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2069, allocations: 43.92 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2069, allocations: 4.094 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.207, allocations: 16 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2071, allocations: 11.98 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.2074, allocations: 141.6 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.2076, allocations: 0.6807 MB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.2077, allocations: 15.92 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.2077, allocations: 11.44 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2077, allocations: 0 / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.002723/0.2104, allocations: 0.875 MB / 0.789 GB, free: 7.262 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)