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.774/1.774, allocations: 288.4 MB / 303.3 MB, free: 8.289 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.001679/0.001679, allocations: 183.1 kB / 372 MB, free: 10.24 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.884/1.884, allocations: 205.4 MB / 0.6307 GB, free: 9.922 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.0007592/0.0007592, allocations: 92.64 kB / 0.7441 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004589, allocations: 17.12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2739, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001595/0.2755, allocations: 1.16 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.2764, allocations: 0.5794 MB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.2765, allocations: 0 / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.2765, allocations: 3.938 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.2766, allocations: 0 / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.2768, allocations: 43.89 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.2769, allocations: 19.88 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.277, allocations: 11.98 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.2771, allocations: 7.984 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.2771, allocations: 15.92 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2772, allocations: 4 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2773, allocations: 47.95 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.2773, allocations: 0 / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.2773, allocations: 37.64 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2774, allocations: 44.2 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2774, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2774, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2774, allocations: 0 / 0.9816 GB, free: 25.54 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.0003933/0.2778, allocations: 347.3 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2779, allocations: 16.02 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2779, allocations: 38.5 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.278, allocations: 3.906 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.2781, allocations: 175 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2781, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.2781, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2783, allocations: 49.62 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2783, allocations: 0 / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2783, allocations: 4 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2783, allocations: 0 / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.2784, allocations: 23.98 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.2787, allocations: 256.9 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.2788, allocations: 34.56 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.2789, allocations: 12.92 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007752/0.2796, allocations: 0.5013 MB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2797, allocations: 30.56 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2797, allocations: 0 / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002476/0.2799, allocations: 81.52 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.28, allocations: 51.41 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.28, allocations: 109.8 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.2801, allocations: 25.7 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.2801, allocations: 92.14 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.2801, allocations: 4.031 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.2801, allocations: 4 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.2802, allocations: 318.8 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.2803, allocations: 11.94 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.2803, allocations: 11.98 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.2804, allocations: 12 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2804, allocations: 4.062 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.2805, allocations: 53.69 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2805, allocations: 9.562 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2805, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2805, allocations: 3.984 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.2806, allocations: 4 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2806, allocations: 0 / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.2807, allocations: 11.98 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2807, allocations: 0 / 0.9838 GB, free: 22.96 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 6.703e-05/0.2808, allocations: 121.8 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.2808, allocations: 0 / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.281, allocations: 69.05 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.281, allocations: 7.984 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.281, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.281, allocations: 4.031 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.2811, allocations: 161.6 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2811, allocations: 0 / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.2812, allocations: 11.98 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2812, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2812, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2812, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2812, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.2814, allocations: 171.4 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.2814, allocations: 77.11 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2814, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.2815, allocations: 4 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.2815, allocations: 0 / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.2815, allocations: 0 / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.2816, allocations: 91.3 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2816, allocations: 4 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002095/0.2818, allocations: 12 kB / 0.9845 GB, free: 22.14 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.00039/0.2822, allocations: 0.7084 MB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2823, allocations: 31.92 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2823, allocations: 0 / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.2824, allocations: 8 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.2826, allocations: 11.94 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.283, allocations: 174.3 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2831, allocations: 0.677 MB / 0.986 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.2832, allocations: 4 kB / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2832, allocations: 19.36 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2832, allocations: 0 / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.297, allocations: 1.396 MB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.2973, allocations: 191.4 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.884, allocations: 0 / 0.9876 GB, free: 18.92 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)