Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.28/2.28, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 173.2 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.437/2.437, allocations: 205.4 MB / 0.5772 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009052, allocations: 83.48 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006324, allocations: 12.62 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2065, allocations: 106.2 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001879/0.2085, allocations: 1.184 MB / 0.9006 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2096, allocations: 0.571 MB / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.2096, allocations: 0 / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.2097, allocations: 0 / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.2097, allocations: 3.938 kB / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.21, allocations: 39.89 kB / 0.9012 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.2101, allocations: 23.94 kB / 0.9013 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.2102, allocations: 7.984 kB / 0.9013 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.2103, allocations: 11.94 kB / 0.9013 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.2104, allocations: 19.91 kB / 0.9013 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.2104, allocations: 0 / 0.9013 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2106, allocations: 47.89 kB / 0.9013 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2106, allocations: 11.94 kB / 0.9014 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.2106, allocations: 29.64 kB / 0.9014 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2107, allocations: 39.94 kB / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2108, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2108, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2108, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB 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.0003908/0.2112, allocations: 355.4 kB / 0.9018 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2112, allocations: 8.031 kB / 0.9018 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2113, allocations: 8.844 kB / 0.9018 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2114, allocations: 168.4 kB / 0.9019 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2114, allocations: 384 / 0.9019 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2114, allocations: 8.359 kB / 0.902 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2116, allocations: 46 kB / 0.902 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2116, allocations: 4 kB / 0.902 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2117, allocations: 0 / 0.902 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2117, allocations: 0 / 0.902 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.2118, allocations: 27.92 kB / 0.902 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.2122, allocations: 256.9 kB / 0.9023 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2123, allocations: 34.64 kB / 0.9023 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.2124, allocations: 16.84 kB / 0.9023 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.2136, allocations: 0.4897 MB / 0.9028 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.2136, allocations: 30.56 kB / 0.9028 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.2137, allocations: 4 kB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.214, allocations: 73.53 kB / 0.9029 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2141, allocations: 55.39 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.2142, allocations: 101.9 kB / 0.9031 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2142, allocations: 33.69 kB / 0.9031 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.2142, allocations: 92.19 kB / 0.9032 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.2143, allocations: 7.906 kB / 0.9032 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.2143, allocations: 0 / 0.9032 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.2144, allocations: 318.8 kB / 0.9035 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.2145, allocations: 7.984 kB / 0.9035 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.2145, allocations: 8 kB / 0.9035 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/0.2146, allocations: 16.05 kB / 0.9035 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2146, allocations: 7.938 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.2148, allocations: 65.61 kB / 0.9036 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2149, allocations: 4 kB / 0.9036 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2149, allocations: 0 / 0.9036 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2149, allocations: 0 / 0.9036 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.215, allocations: 7.984 kB / 0.9036 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.215, allocations: 4 kB / 0.9036 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.2151, allocations: 4.031 kB / 0.9036 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.2151, allocations: 3.938 kB / 0.9036 GB, free: 61.46 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.97e-05/0.2152, allocations: 122.8 kB / 0.9037 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.2152, allocations: 3.906 kB / 0.9037 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.2155, allocations: 69.14 kB / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2155, allocations: 4 kB / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2155, allocations: 4.031 kB / 0.9038 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.2156, allocations: 81.09 kB / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2156, allocations: 0 / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.2157, allocations: 4 kB / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.2157, allocations: 3.938 kB / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000211/0.2159, allocations: 137 kB / 0.904 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002064/0.2162, allocations: 234.7 kB / 0.9042 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.741e-05/0.2163, allocations: 15.98 kB / 0.9043 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.2163, allocations: 83.27 kB / 0.9043 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of Backend: time 6.31e-07/0.2163, allocations: 4.062 kB / 0.9043 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.2168, allocations: 103.4 kB / 0.9044 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003565/0.2172, allocations: 0.5837 MB / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.003518/0.2207, allocations: 0.7161 MB / 0.9057 GB, free: 59.2 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)