Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.327/1.327, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 176.4 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 0.578 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007258/0.000726, allocations: 83.86 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 9 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1825, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001399/0.184, allocations: 1.164 MB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.1844, allocations: 192.4 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1844, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1844, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.1845, allocations: 7.922 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1847, allocations: 31.97 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.1847, allocations: 27.92 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.1848, allocations: 4 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.1849, allocations: 7.938 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.1849, allocations: 15.91 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1849, allocations: 0 / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.185, allocations: 31.97 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.185, allocations: 4 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1851, allocations: 37.62 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.1852, allocations: 39.88 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1852, allocations: 4 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1852, allocations: 3.938 kB / 0.9024 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1852, allocations: 0 / 0.9024 GB, free: 61.8 MB / 0.6042 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.0003535/0.1856, allocations: 335.6 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1856, allocations: 15.97 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.1856, allocations: 30.75 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.1857, allocations: 12.83 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.428e-05/0.1857, allocations: 172.6 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1858, allocations: 384 / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1858, allocations: 384 / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1859, allocations: 54.23 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.186, allocations: 3.938 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.186, allocations: 4 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.186, allocations: 0 / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.1861, allocations: 47.91 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.1864, allocations: 245 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1865, allocations: 50.48 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.1866, allocations: 32.89 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/0.1867, allocations: 81.11 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1867, allocations: 34.56 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1867, allocations: 0 / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.187, allocations: 101.6 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.1871, allocations: 55.53 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.1871, allocations: 105.8 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.1871, allocations: 25.7 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.1872, allocations: 88.05 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.1872, allocations: 4 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.1872, allocations: 0 / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.1873, allocations: 310.8 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.1873, allocations: 31.97 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.1874, allocations: 15.98 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1876, allocations: 56.83 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1876, allocations: 7.875 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001716/0.1877, allocations: 77.56 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1878, allocations: 4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1878, allocations: 4.031 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1878, allocations: 0 / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1879, allocations: 19.98 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1879, allocations: 0 / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.1879, allocations: 4 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1879, allocations: 0 / 0.9044 GB, free: 59.57 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.188, allocations: 121.8 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.188, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.1882, allocations: 84.72 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1882, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1882, allocations: 4 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1883, allocations: 7.969 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.7e-05/0.1884, allocations: 161.6 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1884, allocations: 0 / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.1884, allocations: 8 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1884, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1884, allocations: 3.984 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.1884, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1884, allocations: 4 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1886, allocations: 179.4 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.1887, allocations: 81.02 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1887, allocations: 0 / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1888, allocations: 12.03 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1888, allocations: 3.984 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1888, allocations: 4 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.029e-05/0.1888, allocations: 83.53 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1888, allocations: 0 / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001982/0.189, allocations: 8 kB / 0.9051 GB, free: 58.72 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000374/0.1894, allocations: 0.7163 MB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1896, allocations: 51.94 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1896, allocations: 0 / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.1897, allocations: 23.98 kB / 0.9059 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1899, allocations: 11.92 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.1903, allocations: 142.4 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.1904, allocations: 0.677 MB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.1904, allocations: 11.88 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1904, allocations: 11.44 kB / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1904, allocations: 0 / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.2006, allocations: 1.194 MB / 0.9079 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.2008, allocations: 223.2 kB / 0.9081 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.796, allocations: 0 / 0.9081 GB, free: 55.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)