Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",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.709/1.709, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.0009954/0.0009954, allocations: 180.5 kB / 372 MB, free: 10.25 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.559/1.559, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008008/0.0008007, allocations: 92.75 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 16.72 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2695, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001852/0.2714, allocations: 1.145 MB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004185/0.2718, allocations: 176.5 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.2719, allocations: 3.938 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.2719, allocations: 3.984 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.272, allocations: 7.938 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.2723, allocations: 31.91 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.2724, allocations: 23.92 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.2725, allocations: 4 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.2725, allocations: 7.984 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.2726, allocations: 11.94 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2726, allocations: 0 / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.2727, allocations: 27.97 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2727, allocations: 11.97 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.2728, allocations: 29.7 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.2729, allocations: 23.97 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.2729, allocations: 3.938 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2729, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2729, allocations: 0 / 0.9811 GB, free: 26.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004412/0.2733, allocations: 344.9 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2734, allocations: 20 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.2734, allocations: 34.56 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.2735, allocations: 0 / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2736, allocations: 167 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2736, allocations: 0 / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2736, allocations: 0 / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2738, allocations: 57.67 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2739, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2739, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2739, allocations: 4 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.2741, allocations: 51.89 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.2745, allocations: 248.8 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2746, allocations: 42.55 kB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2747, allocations: 32.91 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.2748, allocations: 85.09 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2749, allocations: 30.56 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2749, allocations: 0 / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.2753, allocations: 101.6 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.2753, allocations: 51.41 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.2754, allocations: 109.8 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.2754, allocations: 25.83 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.2754, allocations: 88.14 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2754, allocations: 11.84 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2754, allocations: 0 / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.2755, allocations: 318.8 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.2756, allocations: 27.92 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.2757, allocations: 19.98 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.2758, allocations: 23.98 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2758, allocations: 0 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.276, allocations: 81.66 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.276, allocations: 4 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.276, allocations: 0 / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2761, allocations: 0 / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2762, allocations: 16.23 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2762, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.2763, allocations: 12.03 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2763, allocations: 0 / 0.983 GB, free: 23.82 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 (2): * Single equations (assignments): 2 * 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.768e-05/0.2764, allocations: 121.8 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2764, allocations: 0 / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2766, allocations: 88.62 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2767, allocations: 0 / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.2767, allocations: 4 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2767, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2768, allocations: 169.6 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2769, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.2769, allocations: 8 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.2769, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2769, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.277, allocations: 8.016 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.277, allocations: 4 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.2772, allocations: 171.5 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.2773, allocations: 81.11 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2773, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.2774, allocations: 8 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.2774, allocations: 7.922 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2774, allocations: 3.938 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.2775, allocations: 79.28 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2775, allocations: 4 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002287/0.2777, allocations: 12 kB / 0.9838 GB, free: 22.96 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 (2): * Single equations (assignments): 2 * 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.0005407/0.2783, allocations: 0.7203 MB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.2785, allocations: 43.97 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2785, allocations: 3.938 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.2786, allocations: 24.05 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2789, allocations: 11.92 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.2794, allocations: 142.3 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2796, allocations: 0.677 MB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.2796, allocations: 4 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.2797, allocations: 11.5 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2797, allocations: 0 / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.2929, allocations: 1.187 MB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.2931, allocations: 199.4 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.902, allocations: 4 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)