Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 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.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 69.66 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.259, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002758/0.2618, allocations: 1.521 MB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004413/0.2623, allocations: 149.4 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.2623, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.2624, allocations: 7.938 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.2625, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.2627, allocations: 27.92 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.2628, allocations: 39.91 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2629, allocations: 15.98 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.263, allocations: 19.92 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.263, allocations: 23.86 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.263, allocations: 4 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.2631, allocations: 35.97 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2632, allocations: 4 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.2632, allocations: 19.86 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2633, allocations: 60.08 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2633, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2633, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2633, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 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.0004626/0.2638, allocations: 367.4 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2639, allocations: 12.03 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.2639, allocations: 30.75 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.2649, allocations: 212.5 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.265, allocations: 172.2 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2651, allocations: 8.375 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2651, allocations: 4.375 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.2656, allocations: 201.9 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2656, allocations: 7.938 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2657, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2657, allocations: 3.984 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.2665, allocations: 283.5 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.2674, allocations: 437.2 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2684, allocations: 290.1 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.2688, allocations: 100.8 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2688, allocations: 4 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2688, allocations: 30.56 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.2688, allocations: 0 / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001092/0.2699, allocations: 309.3 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.27, allocations: 55.39 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.2701, allocations: 121.8 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2701, allocations: 25.7 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.2702, allocations: 95.98 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2702, allocations: 7.891 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.2702, allocations: 17.72 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2704, allocations: 318.8 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.2707, allocations: 103.9 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.2711, allocations: 91.88 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.2717, allocations: 168.6 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2717, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006742/0.2723, allocations: 217.3 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2724, allocations: 4.938 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2724, allocations: 4 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2724, allocations: 4 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2727, allocations: 35.94 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2727, allocations: 384 / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2729, allocations: 27.95 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2729, allocations: 0 / 0.7883 GB, free: 8.07 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.273, allocations: 121.8 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.273, allocations: 11.94 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.2731, allocations: 7.906 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2731, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2731, allocations: 3.938 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2731, allocations: 0 / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2733, allocations: 213.6 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2734, allocations: 0 / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.2736, allocations: 35.94 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2736, allocations: 4 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2736, allocations: 4 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2736, allocations: 0 / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2736, allocations: 3.938 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.2744, allocations: 315.2 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.2744, allocations: 89.38 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2745, allocations: 4 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2747, allocations: 23.95 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2747, allocations: 4 kB / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2747, allocations: 7.969 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.2748, allocations: 99.27 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 4 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002319/0.275, allocations: 15.94 kB / 0.7892 GB, free: 7.02 MB / 0.6075 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 (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.0009926/0.276, allocations: 0.8333 MB / 0.79 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006856/0.2767, allocations: 195.7 kB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2768, allocations: 4 kB / 0.7902 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.2771, allocations: 95.88 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2773, allocations: 7.938 kB / 0.7903 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.2805, allocations: 1.85 MB / 0.7921 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2807, allocations: 0.6851 MB / 0.7928 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.137e-05/0.2808, allocations: 20.23 kB / 0.7928 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.2809, allocations: 23.36 kB / 0.7928 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2809, allocations: 0 / 0.7928 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.2917, allocations: 1.721 MB / 0.7945 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.2919, allocations: 199.7 kB / 0.7947 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.908, allocations: 0 / 0.7947 GB, free: 1.285 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)