Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",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.325/1.325, allocations: 252 MB / 267.3 MB, free: 10.84 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.000972/0.0009724, allocations: 183.5 kB / 327 MB, free: 2.078 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.525/1.525, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007458/0.0007455, allocations: 97.66 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 10.16 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001547/0.1828, allocations: 1.188 MB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.1838, allocations: 0.6093 MB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.1839, allocations: 0 / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1839, allocations: 0 / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.184, allocations: 3.938 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1842, allocations: 35.95 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.1843, allocations: 31.81 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.1844, allocations: 7.984 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.1845, allocations: 8 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.1845, allocations: 19.91 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1846, allocations: 4 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1847, allocations: 47.95 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1847, allocations: 7.938 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1847, allocations: 33.64 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1849, allocations: 63.84 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1849, allocations: 0 / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1849, allocations: 0 / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1849, allocations: 0 / 0.9029 GB, free: 61.28 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.0003402/0.1853, allocations: 347.7 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1853, allocations: 8.031 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.1853, allocations: 38.75 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.1854, allocations: 4.938 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.527e-05/0.1855, allocations: 172.3 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1855, allocations: 4.375 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1855, allocations: 12.23 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1856, allocations: 45.81 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1857, allocations: 0 / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1857, allocations: 4 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1857, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.1858, allocations: 19.98 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.1861, allocations: 256.9 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.1862, allocations: 42.44 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.1863, allocations: 16.92 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/0.187, allocations: 0.4897 MB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1871, allocations: 34.56 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.794e-06/0.1871, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.1873, allocations: 65.67 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1874, allocations: 55.41 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.1875, allocations: 113.8 kB / 0.9046 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1875, allocations: 25.7 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.1875, allocations: 80.14 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1876, allocations: 19.97 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.1876, allocations: 0 / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.1876, allocations: 318.8 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.1877, allocations: 12 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.1877, allocations: 11.98 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.1878, allocations: 32.91 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1878, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.188, allocations: 57.59 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.188, allocations: 10.66 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.188, allocations: 0 / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.188, allocations: 3.938 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.1881, allocations: 4 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1881, allocations: 8.016 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.1882, allocations: 8 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1882, allocations: 0 / 0.9052 GB, free: 58.68 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 5.553e-05/0.1882, allocations: 113.8 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1883, allocations: 0 / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.1884, allocations: 65.2 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1884, allocations: 4.031 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1884, allocations: 3.938 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1885, allocations: 0 / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1886, allocations: 165.6 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1886, allocations: 0 / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.1886, allocations: 7.938 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1886, allocations: 4 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1887, allocations: 0 / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1887, allocations: 0 / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1887, allocations: 7.984 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1888, allocations: 159.4 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.1888, allocations: 81.11 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1889, allocations: 0 / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.1889, allocations: 3.984 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.189, allocations: 7.938 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.189, allocations: 4.031 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.189, allocations: 91.58 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.189, allocations: 0 / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002276/0.1892, allocations: 16 kB / 0.9059 GB, free: 57.86 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.0003712/0.1896, allocations: 0.7084 MB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.1898, allocations: 27.98 kB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1898, allocations: 0 / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.1898, allocations: 15.98 kB / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.19, allocations: 4.156 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1904, allocations: 182.1 kB / 0.9068 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1905, allocations: 0.677 MB / 0.9074 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.1906, allocations: 7.984 kB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1906, allocations: 7.438 kB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.1906, allocations: 0 / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.2017, allocations: 1.394 MB / 0.9088 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.2019, allocations: 207 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.844, allocations: 2.812 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)