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.001406/0.001405, allocations: 108 kB / 15.61 MB, free: 152 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: 194.3 kB / 16.53 MB, free: 6.699 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.63/1.63, allocations: 205.1 MB / 222.4 MB, free: 4.641 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.698/1.698, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001349/0.001349, allocations: 76.45 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2299, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002549/0.2325, allocations: 1.453 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.2328, allocations: 148.4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.2329, allocations: 3.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.2329, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.233, allocations: 3.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2332, allocations: 31.91 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.2333, allocations: 39.91 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2334, allocations: 23.98 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.2335, allocations: 15.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.2335, allocations: 27.86 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2336, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.2336, allocations: 31.97 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.2337, allocations: 11.94 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.2337, allocations: 19.92 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2338, allocations: 71.95 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2338, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2338, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2339, allocations: 0 / 0.7853 GB, free: 11.48 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.000403/0.2343, allocations: 363.4 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2343, allocations: 8.031 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.2343, allocations: 34.75 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2354, allocations: 212.5 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2355, allocations: 172.2 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2355, allocations: 384 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2355, allocations: 8.375 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.2361, allocations: 198 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2361, allocations: 3.938 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2361, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.2362, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.237, allocations: 279.5 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.2378, allocations: 429.2 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2389, allocations: 290.1 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.2393, allocations: 100.8 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2393, allocations: 7.938 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2393, allocations: 34.56 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2394, allocations: 0 / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001162/0.2405, allocations: 313.3 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2406, allocations: 51.41 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.2407, allocations: 121.8 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2407, allocations: 25.7 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.2407, allocations: 95.98 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2408, allocations: 12.27 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.2408, allocations: 17.72 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.2409, allocations: 322.8 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.2413, allocations: 91.88 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.2416, allocations: 95.81 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.2423, allocations: 172.6 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2423, allocations: 0 / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007166/0.243, allocations: 217.5 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.243, allocations: 4 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.243, allocations: 0 / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.243, allocations: 0 / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2433, allocations: 39.88 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2433, allocations: 0 / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2435, allocations: 35.86 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2435, allocations: 0 / 0.7889 GB, free: 7.551 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 7.984e-05/0.2436, allocations: 121.8 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.2437, allocations: 4 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.2437, allocations: 7.906 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2437, allocations: 4 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2437, allocations: 8 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2437, allocations: 0 / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.2439, allocations: 209.5 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2439, allocations: 0 / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.2442, allocations: 31.94 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2442, allocations: 0 / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2442, allocations: 7.938 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2442, allocations: 0 / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2442, allocations: 0 / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.245, allocations: 323.1 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.245, allocations: 77.11 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.245, allocations: 0 / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2453, allocations: 31.95 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2453, allocations: 4 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2453, allocations: 7.984 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.2454, allocations: 91.27 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2454, allocations: 0 / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002285/0.2456, allocations: 15.94 kB / 0.7898 GB, free: 6.523 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.000978/0.2466, allocations: 0.8378 MB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007376/0.2473, allocations: 207.7 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2474, allocations: 0 / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.2477, allocations: 99.95 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.248, allocations: 12.94 kB / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.2514, allocations: 1.849 MB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2516, allocations: 0.6846 MB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.2517, allocations: 19.98 kB / 0.7934 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.2518, allocations: 19.42 kB / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2518, allocations: 0 / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.2689, allocations: 1.91 MB / 0.7953 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.237, allocations: 19.73 kB / 0.7953 GB, free: 0.793 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)