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.001415/0.001415, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 185.8 kB / 16.62 MB, free: 6.582 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.358/1.358, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.66/1.66, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001438/0.001438, allocations: 69.69 kB / 0.6718 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2072, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002693/0.2099, allocations: 1.465 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003628/0.2103, allocations: 140.4 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.2104, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.2104, allocations: 7.938 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.2105, allocations: 7.875 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2107, allocations: 31.89 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.2108, allocations: 43.91 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2109, allocations: 16 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.211, allocations: 19.92 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.211, allocations: 19.92 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2111, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.2111, allocations: 35.97 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.2112, allocations: 11.92 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.2112, allocations: 19.92 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2114, allocations: 64.02 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2114, allocations: 4 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2114, allocations: 4 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2114, allocations: 0 / 0.7855 GB, free: 11.37 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.0004552/0.2118, allocations: 363.4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2119, allocations: 8.031 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.2119, allocations: 34.75 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.213, allocations: 212.5 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2131, allocations: 172.2 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2131, allocations: 4.312 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2131, allocations: 8.375 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.2137, allocations: 190 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2137, allocations: 3.938 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2137, allocations: 8 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2137, allocations: 0 / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.2146, allocations: 279.5 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.2154, allocations: 445.1 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2165, allocations: 286.2 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.2169, allocations: 100.8 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.2169, allocations: 0 / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2169, allocations: 34.56 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2169, allocations: 0 / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001137/0.2181, allocations: 313.3 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2181, allocations: 51.41 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.2182, allocations: 121.8 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2183, allocations: 25.7 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.2183, allocations: 96.05 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2183, allocations: 7.906 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.2184, allocations: 21.7 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2185, allocations: 318.8 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.2189, allocations: 95.88 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2192, allocations: 95.86 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.2199, allocations: 172.6 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2199, allocations: 0 / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007022/0.2206, allocations: 221.4 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2206, allocations: 4 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2206, allocations: 0 / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2206, allocations: 0 / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2209, allocations: 35.94 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2209, allocations: 0 / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.2211, allocations: 35.86 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2211, allocations: 4 kB / 0.7891 GB, free: 7.438 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.547e-05/0.2212, allocations: 121.8 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.2212, allocations: 4 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.2213, allocations: 7.906 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2213, allocations: 0 / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2213, allocations: 0 / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2213, allocations: 4.375 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.2215, allocations: 209.5 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2215, allocations: 8 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.2217, allocations: 35.88 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2218, allocations: 4.266 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2218, allocations: 4 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2218, allocations: 0 / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2218, allocations: 0 / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.2226, allocations: 319.1 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.2227, allocations: 81.09 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2227, allocations: 0 / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2229, allocations: 27.95 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.223, allocations: 8 kB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.223, allocations: 4 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.223, allocations: 91.27 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.223, allocations: 0 / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000226/0.2233, allocations: 15.94 kB / 0.79 GB, free: 6.41 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.001163/0.2244, allocations: 0.8445 MB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.2252, allocations: 199.7 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2252, allocations: 0 / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.2256, allocations: 103.8 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2258, allocations: 9.734 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.2293, allocations: 1.842 MB / 0.7929 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2296, allocations: 0.6885 MB / 0.7936 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.044e-05/0.2297, allocations: 16 kB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.2297, allocations: 19.42 kB / 0.7936 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2297, allocations: 0 / 0.7936 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.2463, allocations: 1.955 MB / 0.7955 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.889, allocations: 3.938 kB / 0.7955 GB, free: 0.6836 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)