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.000972/0.0009719, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008301/0.008301, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.623/1.623, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.72/1.72, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005436/0.0005436, allocations: 16.64 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2591, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001594/0.2608, allocations: 1.187 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.2611, allocations: 144.4 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.2612, allocations: 4 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.2612, allocations: 4 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.2613, allocations: 7.875 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.2614, allocations: 19.98 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.2615, allocations: 39.91 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.2616, allocations: 19.98 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.2617, allocations: 11.92 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.2617, allocations: 19.92 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2617, allocations: 0 / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.2618, allocations: 31.98 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2619, allocations: 7.922 kB / 0.7895 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.2619, allocations: 41.58 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.262, allocations: 64 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.262, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.262, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.262, allocations: 4 kB / 0.7896 GB, free: 9.84 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.0004295/0.2625, allocations: 355.5 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2625, allocations: 12.03 kB / 0.7899 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.2626, allocations: 34.75 kB / 0.7899 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2637, allocations: 244.5 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2638, allocations: 176.3 kB / 0.7903 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2638, allocations: 384 / 0.7903 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2639, allocations: 4.375 kB / 0.7904 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.2645, allocations: 219.1 kB / 0.7906 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2645, allocations: 3.938 kB / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2645, allocations: 0 / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2645, allocations: 0 / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008837/0.2654, allocations: 323.6 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009396/0.2664, allocations: 457 kB / 0.7913 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2675, allocations: 338.2 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.2679, allocations: 116.8 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2679, allocations: 4 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2679, allocations: 38.5 kB / 0.7918 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.268, allocations: 3.938 kB / 0.7918 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001211/0.2692, allocations: 361.3 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2692, allocations: 51.41 kB / 0.7922 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.2693, allocations: 125.8 kB / 0.7923 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2694, allocations: 25.7 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.2694, allocations: 92.08 kB / 0.7924 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.2694, allocations: 11.81 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.2695, allocations: 9.719 kB / 0.7924 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2696, allocations: 322.8 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.27, allocations: 111.9 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.2704, allocations: 120.2 kB / 0.793 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.2711, allocations: 208.9 kB / 0.7932 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2711, allocations: 0 / 0.7932 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007778/0.2719, allocations: 257.4 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2719, allocations: 7.938 kB / 0.7934 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2719, allocations: 0 / 0.7934 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2719, allocations: 3.984 kB / 0.7934 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2722, allocations: 39.95 kB / 0.7935 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2722, allocations: 0 / 0.7935 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.2724, allocations: 39.95 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2724, allocations: 7.984 kB / 0.7935 GB, free: 5.562 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 8.807e-05/0.2725, allocations: 121.7 kB / 0.7936 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2725, allocations: 3.906 kB / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.2726, allocations: 15.91 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2726, allocations: 0 / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2726, allocations: 3.984 kB / 0.7936 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2726, allocations: 0 / 0.7936 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.2729, allocations: 217.6 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2729, allocations: 0 / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.2731, allocations: 39.95 kB / 0.7939 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2731, allocations: 4 kB / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2731, allocations: 0 / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2731, allocations: 3.984 kB / 0.7939 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2731, allocations: 7.938 kB / 0.7939 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.274, allocations: 351.2 kB / 0.7942 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.274, allocations: 77.11 kB / 0.7943 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.274, allocations: 0 / 0.7943 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2743, allocations: 35.95 kB / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2743, allocations: 19.92 kB / 0.7944 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2743, allocations: 0 / 0.7944 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.2744, allocations: 91.27 kB / 0.7945 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2744, allocations: 0 / 0.7945 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002262/0.2746, allocations: 19.94 kB / 0.7945 GB, free: 4.469 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.001107/0.2757, allocations: 0.8685 MB / 0.7953 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.2765, allocations: 243.7 kB / 0.7956 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2765, allocations: 288 / 0.7956 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.2769, allocations: 115.9 kB / 0.7957 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.2772, allocations: 11.94 kB / 0.7957 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.2807, allocations: 1.95 MB / 0.7976 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.2809, allocations: 0.6965 MB / 0.7983 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.053e-05/0.281, allocations: 16.23 kB / 0.7983 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.2811, allocations: 23.42 kB / 0.7983 GB, free: 436 kB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2811, allocations: 0 / 0.7983 GB, free: 436 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.2923, allocations: 1.662 MB / 0.7999 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.2925, allocations: 188.6 kB / 0.8001 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.115, allocations: 3.938 kB / 0.8001 GB, free: 14.61 MB / 0.6231 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)