Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.8 MB, free: 10.99 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.001107/0.001107, allocations: 174.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001055/0.001055, allocations: 89.59 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005619/0.0005621, allocations: 9.125 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2778, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001676/0.2795, allocations: 1.184 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.2805, allocations: 0.5676 MB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.2805, allocations: 0 / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.2806, allocations: 0 / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.2806, allocations: 3.984 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.2809, allocations: 39.84 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.281, allocations: 19.97 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.2811, allocations: 8 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.2812, allocations: 19.91 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.2813, allocations: 7.938 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2813, allocations: 0 / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2815, allocations: 47.95 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.2815, allocations: 0 / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2815, allocations: 25.7 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.2816, allocations: 51.86 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2817, allocations: 7.938 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2817, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.2817, allocations: 4 kB / 0.9021 GB, free: 61.81 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.0004423/0.2821, allocations: 339.5 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2822, allocations: 11.97 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.2822, allocations: 38.55 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.2823, allocations: 7.953 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.2824, allocations: 163.1 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2824, allocations: 0 / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2824, allocations: 0 / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2826, allocations: 49.69 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2826, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2826, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2826, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.2827, allocations: 31.91 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.283, allocations: 256.8 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.2831, allocations: 34.56 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.2839, allocations: 0.4897 MB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2839, allocations: 34.56 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.2839, allocations: 4 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.2841, allocations: 69.61 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.2842, allocations: 59.36 kB / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.2843, allocations: 105.8 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2843, allocations: 25.7 kB / 0.9037 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.2843, allocations: 84.27 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.2843, allocations: 15.84 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2843, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.2844, allocations: 310.8 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.2844, allocations: 15.98 kB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.2845, allocations: 8 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.2845, allocations: 20.05 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2845, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.2847, allocations: 57.62 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2847, allocations: 4 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2847, allocations: 0 / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2847, allocations: 4 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.2848, allocations: 7.984 kB / 0.9042 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2848, allocations: 0 / 0.9042 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.2849, allocations: 11.98 kB / 0.9043 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2849, allocations: 0 / 0.9043 GB, free: 59.27 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 7.05e-05/0.2849, allocations: 113.8 kB / 0.9044 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.285, allocations: 7.906 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.2852, allocations: 69.08 kB / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2852, allocations: 0 / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2852, allocations: 8.031 kB / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2852, allocations: 0 / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2854, allocations: 169.6 kB / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2854, allocations: 0 / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.2854, allocations: 7.984 kB / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2854, allocations: 0 / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2854, allocations: 4 kB / 0.9046 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2854, allocations: 0 / 0.9046 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2855, allocations: 0 / 0.9046 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2856, allocations: 155.5 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.2856, allocations: 85 kB / 0.9048 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2857, allocations: 4 kB / 0.9048 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.2857, allocations: 0 / 0.9048 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.2858, allocations: 7.938 kB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.2858, allocations: 3.984 kB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.2859, allocations: 91.3 kB / 0.9049 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2859, allocations: 0 / 0.9049 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002368/0.2861, allocations: 12 kB / 0.905 GB, free: 58.45 MB / 0.6042 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.0004548/0.2866, allocations: 0.7047 MB / 0.9056 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.2867, allocations: 31.97 kB / 0.9057 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2868, allocations: 0 / 0.9057 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.2868, allocations: 15.94 kB / 0.9057 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.2869, allocations: 2.234 kB / 0.9057 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.2874, allocations: 170.3 kB / 0.9059 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2876, allocations: 0.6848 MB / 0.9065 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.2876, allocations: 4 kB / 0.9065 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.2877, allocations: 11.44 kB / 0.9065 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.2877, allocations: 0 / 0.9065 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.2996, allocations: 1.383 MB / 0.9079 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.2998, allocations: 181.5 kB / 0.9081 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.909, allocations: 0 / 0.9081 GB, free: 55.24 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)