Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.00114/0.00114, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.0009906/0.0009906, allocations: 94.86 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004508, allocations: 12.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2415, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001497/0.2431, allocations: 1.168 MB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.2435, allocations: 140.5 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2436, allocations: 0 / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.2436, allocations: 0 / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.2437, allocations: 7.984 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.2439, allocations: 23.91 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.244, allocations: 23.97 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2441, allocations: 19.98 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.2441, allocations: 11.94 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.2442, allocations: 15.92 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2442, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.2443, allocations: 27.97 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.2443, allocations: 8 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.2443, allocations: 33.64 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.2444, allocations: 48.14 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2444, allocations: 0 / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2445, allocations: 0 / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2445, allocations: 0 / 0.981 GB, free: 26.06 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.000397/0.2449, allocations: 355.2 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2449, allocations: 12.02 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.245, allocations: 42.56 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.246, allocations: 239.5 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.2461, allocations: 171 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2461, allocations: 4 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2462, allocations: 11.88 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.2467, allocations: 205.5 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2467, allocations: 0 / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2467, allocations: 4 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2467, allocations: 8 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.2475, allocations: 319.6 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.2484, allocations: 453.1 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2494, allocations: 338.2 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2495, allocations: 4.062 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2495, allocations: 38.55 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.2495, allocations: 0 / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.001089/0.2506, allocations: 377.2 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.2506, allocations: 51.41 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.2507, allocations: 118 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2507, allocations: 29.7 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.2508, allocations: 84.14 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2508, allocations: 11.84 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.2508, allocations: 4 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.2509, allocations: 318.8 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.2512, allocations: 115.8 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.2516, allocations: 111.9 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.2519, allocations: 99.89 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2519, allocations: 4 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006902/0.2526, allocations: 257.3 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2526, allocations: 4 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2527, allocations: 4 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2527, allocations: 4 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.2529, allocations: 47.89 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2529, allocations: 4 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2531, allocations: 35.95 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2532, allocations: 4 kB / 0.9847 GB, free: 22.02 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 7.924e-05/0.2532, allocations: 118.5 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.2533, allocations: 4.281 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.2533, allocations: 11.91 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2533, allocations: 0 / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2533, allocations: 3.953 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2534, allocations: 3.938 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.2535, allocations: 209.6 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2535, allocations: 0 / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2538, allocations: 43.94 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2538, allocations: 0 / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2538, allocations: 0 / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2538, allocations: 4 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2538, allocations: 7.953 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.2545, allocations: 347.2 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.2546, allocations: 85.02 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2546, allocations: 4 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2548, allocations: 35.95 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.2549, allocations: 4 kB / 0.9855 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2549, allocations: 7.938 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.2549, allocations: 95.27 kB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2549, allocations: 0 / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002302/0.2552, allocations: 16 kB / 0.9856 GB, free: 20.95 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.0009256/0.2561, allocations: 0.8766 MB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006963/0.2568, allocations: 235.7 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2568, allocations: 0 / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.2572, allocations: 116 kB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.2574, allocations: 7.938 kB / 0.9868 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.2595, allocations: 0.9232 MB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2597, allocations: 0.6926 MB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.64e-05/0.2598, allocations: 19.98 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.2599, allocations: 19.42 kB / 0.9884 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2599, allocations: 0 / 0.9884 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.2717, allocations: 1.648 MB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.2719, allocations: 182.4 kB / 0.9902 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.838, allocations: 0 / 0.9902 GB, free: 16.2 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)