Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",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.791/1.791, allocations: 288.4 MB / 303.3 MB, free: 8.086 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.00102/0.00102, allocations: 178.9 kB / 372 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 2.04/2.04, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.001074/0.001075, allocations: 102.8 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006107/0.0006108, allocations: 12.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3212, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001889/0.3231, allocations: 1.168 MB / 0.9808 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003944/0.3235, allocations: 132.5 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.3236, allocations: 4 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.3236, allocations: 3.984 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.3237, allocations: 11.86 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.324, allocations: 23.98 kB / 0.981 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3241, allocations: 35.91 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3242, allocations: 19.94 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.3243, allocations: 11.98 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.3243, allocations: 15.91 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3244, allocations: 3.938 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.3245, allocations: 31.97 kB / 0.9811 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.3245, allocations: 7.938 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3245, allocations: 29.7 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3246, allocations: 44.2 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3247, allocations: 0 / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.407e-06/0.3247, allocations: 0 / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3247, allocations: 4 kB / 0.9811 GB, free: 26.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005021/0.3252, allocations: 359.2 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3253, allocations: 12.02 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3253, allocations: 30.56 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3267, allocations: 251.5 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3269, allocations: 170.9 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3269, allocations: 4 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3269, allocations: 4 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.3276, allocations: 209.5 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3277, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3277, allocations: 4 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3277, allocations: 0 / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3288, allocations: 319.6 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.33, allocations: 461 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3315, allocations: 334.2 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.332, allocations: 124.8 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.332, allocations: 12.06 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3321, allocations: 30.56 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.3321, allocations: 3.938 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.001568/0.3336, allocations: 369.2 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3337, allocations: 51.41 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.3338, allocations: 126 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3338, allocations: 25.7 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.3339, allocations: 84.14 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3339, allocations: 11.84 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3339, allocations: 4.375 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.334, allocations: 314.8 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.3345, allocations: 115.9 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.335, allocations: 111.9 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.3354, allocations: 111.8 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3355, allocations: 0 / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009682/0.3364, allocations: 253.4 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3365, allocations: 4 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3365, allocations: 0 / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3365, allocations: 7.953 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.3369, allocations: 43.94 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3369, allocations: 4 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.3372, allocations: 35.95 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3372, allocations: 4 kB / 0.985 GB, free: 21.89 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 (3): * Single equations (assignments): 3 * 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 9.851e-05/0.3373, allocations: 117.8 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3374, allocations: 3.906 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.3374, allocations: 15.91 kB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3374, allocations: 0 / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3374, allocations: 3.953 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3375, allocations: 0 / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3377, allocations: 209.5 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3377, allocations: 0 / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.3381, allocations: 51.88 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3381, allocations: 0 / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.3381, allocations: 4 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3381, allocations: 4 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3381, allocations: 3.953 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3391, allocations: 347.3 kB / 0.9857 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.3392, allocations: 81.02 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.3392, allocations: 0 / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.3395, allocations: 39.95 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.3396, allocations: 7.953 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3396, allocations: 3.984 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.616e-05/0.3397, allocations: 91.27 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.954e-06/0.3397, allocations: 0 / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003448/0.34, allocations: 19.94 kB / 0.9859 GB, free: 20.8 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 (3): * Single equations (assignments): 3 * 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.001334/0.3414, allocations: 0.8692 MB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.3424, allocations: 239.8 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3424, allocations: 3.938 kB / 0.987 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.343, allocations: 123.8 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3434, allocations: 0 / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.3465, allocations: 0.9113 MB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3467, allocations: 0.7003 MB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.3468, allocations: 15.98 kB / 0.9887 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.3469, allocations: 15.44 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/0.3469, allocations: 4 kB / 0.9887 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.3619, allocations: 1.661 MB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.3622, allocations: 186.2 kB / 0.9905 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.98, allocations: 0 / 0.9905 GB, free: 16.06 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)