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.00172/0.00172, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002694/0.002694, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.156/3.156, allocations: 205.4 MB / 222.1 MB, free: 5.504 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 3.398/3.398, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.001384/0.001384, allocations: 16.5 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.549, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003848/0.553, allocations: 1.148 MB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.5538, allocations: 192.3 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.5539, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.554, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.5541, allocations: 3.984 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.5545, allocations: 23.97 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.5547, allocations: 19.92 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.5549, allocations: 3.984 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.5549, allocations: 4 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.5551, allocations: 19.92 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.5551, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.5553, allocations: 27.97 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.5553, allocations: 7.984 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.5554, allocations: 25.7 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.5555, allocations: 27.95 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5556, allocations: 3.938 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.472e-06/0.5556, allocations: 0 / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.5556, allocations: 0 / 0.7887 GB, free: 10.35 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.0009545/0.5566, allocations: 354.3 kB / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.466e-05/0.5566, allocations: 8.031 kB / 0.789 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/0.5567, allocations: 30.56 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.5568, allocations: 4 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.557, allocations: 171 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5571, allocations: 3.938 kB / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.5571, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.5573, allocations: 61.67 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5573, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5574, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5574, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.5576, allocations: 47.95 kB / 0.7893 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.5582, allocations: 254 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.5583, allocations: 50.48 kB / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.5585, allocations: 77.11 kB / 0.7897 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5585, allocations: 34.56 kB / 0.7897 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5585, allocations: 0 / 0.7897 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004595/0.559, allocations: 101.8 kB / 0.7898 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.5591, allocations: 51.41 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.5593, allocations: 109.8 kB / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.5593, allocations: 25.7 kB / 0.79 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.5594, allocations: 84.14 kB / 0.7901 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.5594, allocations: 7.844 kB / 0.7901 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.5594, allocations: 0 / 0.7901 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.5596, allocations: 322.8 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.5597, allocations: 24.02 kB / 0.7904 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.5598, allocations: 19.98 kB / 0.7904 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.009e-05/0.5599, allocations: 24.05 kB / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5599, allocations: 0 / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002075/0.5602, allocations: 77.66 kB / 0.7905 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5602, allocations: 4 kB / 0.7905 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5602, allocations: 3.938 kB / 0.7905 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5602, allocations: 4.031 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5603, allocations: 12.23 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.5604, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.5604, allocations: 15.98 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5604, allocations: 3.938 kB / 0.7906 GB, free: 8.168 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 0.0001214/0.5606, allocations: 117.8 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.5606, allocations: 0 / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.5609, allocations: 88.69 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5609, allocations: 0 / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5609, allocations: 0 / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5609, allocations: 0 / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.5612, allocations: 165.6 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5612, allocations: 8.031 kB / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.5612, allocations: 11.98 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5613, allocations: 3.938 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5613, allocations: 0 / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5613, allocations: 0 / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5613, allocations: 0 / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.5616, allocations: 183.4 kB / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.5616, allocations: 77.11 kB / 0.7912 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.5617, allocations: 0 / 0.7912 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.5617, allocations: 11.98 kB / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.5618, allocations: 4.031 kB / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.5618, allocations: 0 / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.5619, allocations: 83.28 kB / 0.7913 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5619, allocations: 0 / 0.7913 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002716/0.5621, allocations: 8 kB / 0.7913 GB, free: 7.32 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.0009659/0.5631, allocations: 0.7202 MB / 0.792 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.5634, allocations: 44 kB / 0.7921 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5634, allocations: 4 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/0.5635, allocations: 27.97 kB / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.5638, allocations: 0 / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.5644, allocations: 158 kB / 0.7922 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5648, allocations: 0.677 MB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.5648, allocations: 0 / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.5649, allocations: 11.44 kB / 0.7929 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.5649, allocations: 0 / 0.7929 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.5903, allocations: 1.163 MB / 0.794 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005484/0.591, allocations: 180.9 kB / 0.7942 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/3.883, allocations: 0 / 0.7942 GB, free: 4.312 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: