Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",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.0008136/0.0008136, allocations: 92.08 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.783/1.783, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005746/0.0005751, allocations: 12.62 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2988, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001741/0.3006, allocations: 1.148 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004529/0.3011, allocations: 192.4 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.3011, allocations: 4 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.3012, allocations: 3.938 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.3012, allocations: 7.984 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.3015, allocations: 19.92 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.3016, allocations: 23.92 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.3017, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.3017, allocations: 4 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.3018, allocations: 19.91 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3018, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.3019, allocations: 31.97 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.3019, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.3019, allocations: 29.7 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.691e-05/0.302, allocations: 27.95 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.302, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.302, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3021, allocations: 0 / 0.7889 GB, free: 10.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006231/0.3027, allocations: 339.5 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.3028, allocations: 16.03 kB / 0.7892 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.3028, allocations: 34.56 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.3029, allocations: 3.984 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3031, allocations: 171 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3031, allocations: 0 / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3031, allocations: 0 / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.3034, allocations: 53.67 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3034, allocations: 4 kB / 0.7895 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3034, allocations: 0 / 0.7895 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3034, allocations: 4 kB / 0.7895 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.3036, allocations: 43.91 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.3041, allocations: 268.8 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3042, allocations: 34.56 kB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.3043, allocations: 32.89 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.3045, allocations: 85.11 kB / 0.7899 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.3045, allocations: 30.56 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3045, allocations: 3.938 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.3049, allocations: 101.7 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.305, allocations: 55.41 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.3051, allocations: 101.8 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3051, allocations: 25.7 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.3052, allocations: 84.14 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3052, allocations: 12.91 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.3052, allocations: 0 / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3053, allocations: 318.8 kB / 0.7906 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.3054, allocations: 27.97 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.3055, allocations: 15.98 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.3056, allocations: 28.05 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3056, allocations: 0 / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.3058, allocations: 73.66 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3058, allocations: 7.938 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3058, allocations: 4.281 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3058, allocations: 4 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.3059, allocations: 15.98 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3059, allocations: 0 / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.306, allocations: 4 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.306, allocations: 4 kB / 0.7908 GB, free: 8.105 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 (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.866e-05/0.3061, allocations: 113.8 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3061, allocations: 7.984 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3063, allocations: 88.67 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3064, allocations: 0 / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3064, allocations: 4 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3064, allocations: 4.031 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3065, allocations: 157.6 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3065, allocations: 3.984 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.3066, allocations: 15.88 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3066, allocations: 0 / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3066, allocations: 3.984 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3066, allocations: 4 kB / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3066, allocations: 0 / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.3069, allocations: 175.5 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3069, allocations: 81.09 kB / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.307, allocations: 0 / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.307, allocations: 12.03 kB / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3071, allocations: 3.984 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3071, allocations: 4 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.3071, allocations: 79.28 kB / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3071, allocations: 0 / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002298/0.3074, allocations: 19.94 kB / 0.7915 GB, free: 7.242 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 (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.0005634/0.3079, allocations: 0.7163 MB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.3082, allocations: 48 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3082, allocations: 0 / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.3082, allocations: 27.92 kB / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3085, allocations: 4 kB / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.3089, allocations: 146.4 kB / 0.7924 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3092, allocations: 0.6731 MB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.3092, allocations: 4 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.3092, allocations: 11.42 kB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 1.844e-06/0.3093, allocations: 0 / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.3206, allocations: 1.171 MB / 0.7943 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.3208, allocations: 192.9 kB / 0.7944 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.041, allocations: 4.062 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: