Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.2 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 173 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008678/0.0008682, allocations: 86.91 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 11.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2382, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001454/0.2397, allocations: 1.16 MB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.2406, allocations: 0.564 MB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.2406, allocations: 0 / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.2406, allocations: 3.938 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.2407, allocations: 11.98 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.2409, allocations: 35.89 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.241, allocations: 23.91 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.2411, allocations: 4 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.2411, allocations: 8 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.2412, allocations: 11.92 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.2412, allocations: 0 / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.2413, allocations: 51.94 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.2413, allocations: 0 / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2414, allocations: 37.64 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.2414, allocations: 44.16 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.2415, allocations: 4 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2415, allocations: 3.984 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.2415, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 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.0002872/0.2418, allocations: 339.3 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2418, allocations: 19.95 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.2418, allocations: 34.56 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.807e-05/0.2419, allocations: 3.906 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.242, allocations: 175 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.242, allocations: 0 / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.242, allocations: 4 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2421, allocations: 53.61 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.2421, allocations: 0 / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.2421, allocations: 0 / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.2421, allocations: 0 / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.2422, allocations: 23.98 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.2425, allocations: 256.9 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.144e-05/0.2425, allocations: 34.56 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/0.2432, allocations: 497.5 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2433, allocations: 38.5 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2433, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.2435, allocations: 73.58 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.2435, allocations: 51.41 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.2436, allocations: 109.8 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.2436, allocations: 25.7 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.2436, allocations: 92.27 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.2436, allocations: 7.891 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.2436, allocations: 0 / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.2437, allocations: 318.8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.2437, allocations: 8 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.2438, allocations: 19.92 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.2438, allocations: 12.06 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2438, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.2439, allocations: 57.67 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.244, allocations: 8 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.244, allocations: 0 / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.244, allocations: 0 / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.244, allocations: 4 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.2441, allocations: 4.031 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.2441, allocations: 7.984 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2441, allocations: 4.266 kB / 0.9836 GB, free: 23.08 MB / 0.6198 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 5.184e-05/0.2442, allocations: 113.8 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.2442, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.2443, allocations: 73.05 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2444, allocations: 4.031 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2444, allocations: 0 / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-06/0.2444, allocations: 4 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2445, allocations: 165.5 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2445, allocations: 4 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.2445, allocations: 8 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2446, allocations: 0 / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2446, allocations: 0 / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2446, allocations: 0 / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2446, allocations: 0 / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2447, allocations: 163.4 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.2447, allocations: 81.11 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2448, allocations: 0 / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.2448, allocations: 7.984 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2449, allocations: 0 / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2449, allocations: 4.031 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.825e-05/0.2449, allocations: 91.27 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2449, allocations: 0 / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002186/0.2451, allocations: 19.98 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0003278/0.2455, allocations: 0.7045 MB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2456, allocations: 31.92 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2456, allocations: 0 / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.2456, allocations: 15.98 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.2458, allocations: 4.781 kB / 0.985 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.2461, allocations: 174.3 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2462, allocations: 0.677 MB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.2463, allocations: 4 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.2463, allocations: 15.42 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2463, allocations: 0 / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.2596, allocations: 1.387 MB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.2599, allocations: 185.2 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.767, allocations: 3.938 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)