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.335/1.335, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009773/0.0009773, allocations: 166.5 kB / 325.8 MB, free: 2.668 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.665/1.665, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007629/0.000763, allocations: 85.2 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003387, allocations: 11.44 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 105.4 MB / 0.8962 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001531/0.2732, allocations: 1.199 MB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.2741, allocations: 0.6148 MB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.2741, allocations: 0 / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.2741, allocations: 7.938 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.2742, allocations: 3.938 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2744, allocations: 35.89 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.2745, allocations: 31.86 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.2746, allocations: 4 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.2747, allocations: 19.97 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.2747, allocations: 7.938 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.2747, allocations: 8 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.2748, allocations: 47.95 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.2749, allocations: 3.938 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.2749, allocations: 15.92 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.275, allocations: 55.86 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2751, allocations: 4 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2751, allocations: 0 / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2751, allocations: 0 / 0.8982 GB, free: 65.93 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.0003464/0.2754, allocations: 343.5 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2755, allocations: 16.02 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.2755, allocations: 30.75 kB / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.2755, allocations: 8.938 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.2756, allocations: 172.2 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2756, allocations: 4.375 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.2757, allocations: 4.359 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2758, allocations: 45.81 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2758, allocations: 0 / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.2758, allocations: 0 / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2758, allocations: 11.98 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.238e-05/0.2759, allocations: 19.98 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.2762, allocations: 248.9 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.2763, allocations: 42.44 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.2763, allocations: 20.92 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/0.277, allocations: 497.4 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.277, allocations: 38.56 kB / 0.8996 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.277, allocations: 0 / 0.8996 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.2772, allocations: 65.67 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2773, allocations: 59.34 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.2773, allocations: 105.8 kB / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.2773, allocations: 29.7 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.2774, allocations: 80.14 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.2774, allocations: 11.89 kB / 0.9 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.2774, allocations: 13.84 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.2775, allocations: 318.8 kB / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.2775, allocations: 15.98 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.2776, allocations: 11.94 kB / 0.9003 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.544e-05/0.2776, allocations: 28.84 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2776, allocations: 4.062 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.408e-05/0.2777, allocations: 61.53 kB / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2778, allocations: 8 kB / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2778, allocations: 0 / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2778, allocations: 0 / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.2779, allocations: 7.984 kB / 0.9004 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2779, allocations: 0 / 0.9004 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.2779, allocations: 8.031 kB / 0.9004 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.2779, allocations: 4 kB / 0.9004 GB, free: 63.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.278, allocations: 113.8 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.278, allocations: 3.984 kB / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.2781, allocations: 61.22 kB / 0.9006 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2781, allocations: 0 / 0.9006 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2782, allocations: 8.016 kB / 0.9006 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2782, allocations: 4 kB / 0.9006 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.2783, allocations: 161.5 kB / 0.9008 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2783, allocations: 3.938 kB / 0.9008 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.2783, allocations: 11.98 kB / 0.9008 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2783, allocations: 0 / 0.9008 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2783, allocations: 4 kB / 0.9008 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2784, allocations: 3.938 kB / 0.9008 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2784, allocations: 0 / 0.9008 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2785, allocations: 159.4 kB / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.2785, allocations: 85.09 kB / 0.901 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2785, allocations: 0 / 0.901 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.2786, allocations: 4 kB / 0.901 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.2786, allocations: 0 / 0.901 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.2786, allocations: 0 / 0.901 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.2787, allocations: 95.3 kB / 0.9011 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2787, allocations: 0 / 0.9011 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002151/0.2789, allocations: 12 kB / 0.9011 GB, free: 62.5 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 (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.0003306/0.2792, allocations: 0.7139 MB / 0.9018 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.2793, allocations: 27.98 kB / 0.9019 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2794, allocations: 0 / 0.9019 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.2794, allocations: 15.94 kB / 0.9019 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2796, allocations: 4 kB / 0.9019 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.28, allocations: 166.1 kB / 0.902 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2801, allocations: 0.6809 MB / 0.9027 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.2801, allocations: 7.984 kB / 0.9027 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2802, allocations: 7.438 kB / 0.9027 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2802, allocations: 0 / 0.9027 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.291, allocations: 1.397 MB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.2912, allocations: 205.3 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.86, allocations: 0 / 0.9043 GB, free: 59.26 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)