Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.788/2.788, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001299/0.001299, allocations: 172.4 kB / 371 MB, free: 10.85 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.228/2.228, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0009277/0.0009277, allocations: 91.78 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006875/0.0006879, allocations: 13 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2259, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001721/0.2277, allocations: 1.164 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003971/0.2281, allocations: 144.4 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2282, allocations: 8 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.2282, allocations: 0 / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.2283, allocations: 7.875 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2286, allocations: 27.97 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.2287, allocations: 31.86 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2288, allocations: 27.97 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.2289, allocations: 11.94 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.2289, allocations: 11.92 kB / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2289, allocations: 0 / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.229, allocations: 31.97 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.2291, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.2291, allocations: 37.64 kB / 0.9799 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2292, allocations: 48.19 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2292, allocations: 0 / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2292, allocations: 0 / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2293, allocations: 0 / 0.98 GB, free: 26.68 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.0004732/0.2297, allocations: 359.2 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2298, allocations: 12.02 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.2298, allocations: 30.56 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.2324, allocations: 251.5 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2327, allocations: 167 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.2327, allocations: 4 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.2328, allocations: 4 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2342, allocations: 213.4 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2343, allocations: 0 / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.2343, allocations: 3.938 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.2344, allocations: 0 / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.237, allocations: 323.6 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.2393, allocations: 457.3 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.2427, allocations: 338.1 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/0.2437, allocations: 120.8 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.2438, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2439, allocations: 42.52 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.767e-06/0.2439, allocations: 0 / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.003216/0.2471, allocations: 369.2 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2472, allocations: 51.41 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2474, allocations: 125.9 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2474, allocations: 29.7 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.2475, allocations: 84.14 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.2476, allocations: 15.83 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.2476, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.2477, allocations: 314.8 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.2488, allocations: 111.9 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2498, allocations: 116.1 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.2509, allocations: 112 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2509, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.002191/0.2531, allocations: 253.4 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.2532, allocations: 4 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2532, allocations: 3.953 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.2533, allocations: 0 / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.2539, allocations: 43.95 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.254, allocations: 3.938 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.2546, allocations: 43.94 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.2546, allocations: 0 / 0.9838 GB, free: 22.52 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 0.0001526/0.2548, allocations: 117.8 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.2549, allocations: 3.906 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.255, allocations: 15.89 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.537e-06/0.255, allocations: 3.953 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.255, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.255, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.2555, allocations: 213.5 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2555, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.2561, allocations: 43.95 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.2562, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.2562, allocations: 3.984 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.2562, allocations: 3.953 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.197e-06/0.2563, allocations: 0 / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.2584, allocations: 351.2 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.2586, allocations: 85.02 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.2586, allocations: 0 / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.2593, allocations: 39.95 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.2593, allocations: 7.938 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.2594, allocations: 4.375 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.02e-05/0.2595, allocations: 95.2 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.82e-07/0.2595, allocations: 0 / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005262/0.2601, allocations: 16 kB / 0.9847 GB, free: 21.44 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.002427/0.2625, allocations: 0.8685 MB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.2648, allocations: 239.7 kB / 0.9858 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.2649, allocations: 0 / 0.9858 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.266, allocations: 119.9 kB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.2666, allocations: 7.953 kB / 0.9859 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.2731, allocations: 0.9064 MB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2733, allocations: 0.6964 MB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.2736, allocations: 19.98 kB / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.2737, allocations: 15.42 kB / 0.9875 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2737, allocations: 4 kB / 0.9875 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.2973, allocations: 1.64 MB / 0.9891 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.2976, allocations: 192.6 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/2.997, allocations: 0 / 0.9893 GB, free: 16.7 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)