Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",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.384/1.384, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.001131/0.001131, allocations: 174.6 kB / 325.8 MB, free: 2.711 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.732/1.732, allocations: 205 MB / 0.576 GB, free: 21 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.0007577/0.0007576, allocations: 89.89 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 14.88 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001708/0.1734, allocations: 1.518 MB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.1743, allocations: 0.6989 MB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1744, allocations: 4 kB / 0.8984 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.1745, allocations: 7.922 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.1746, allocations: 11.86 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.175, allocations: 153.5 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1752, allocations: 119.6 kB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1753, allocations: 45.09 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.934e-05/0.1754, allocations: 51.77 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.1755, allocations: 39.72 kB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1755, allocations: 4 kB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.1756, allocations: 43.97 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.1756, allocations: 19.91 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.1757, allocations: 43.72 kB / 0.8989 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1758, allocations: 139.5 kB / 0.899 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1758, allocations: 0 / 0.899 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1758, allocations: 4 kB / 0.899 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1758, allocations: 0 / 0.899 GB, free: 65.18 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000443/0.1763, allocations: 415.1 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1763, allocations: 8.031 kB / 0.8994 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.1764, allocations: 42.75 kB / 0.8995 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007727/0.1772, allocations: 144.7 kB / 0.8996 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.1773, allocations: 184.1 kB / 0.8998 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.1773, allocations: 67.95 kB / 0.8998 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1774, allocations: 8.375 kB / 0.8999 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.1778, allocations: 185.5 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1778, allocations: 0 / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1779, allocations: 12 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1779, allocations: 0 / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.1784, allocations: 195.8 kB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.1794, allocations: 0.5054 MB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.1803, allocations: 270.3 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.1806, allocations: 100.9 kB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1807, allocations: 0 / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1807, allocations: 34.56 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1807, allocations: 4 kB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009011/0.1816, allocations: 317.5 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.1816, allocations: 55.41 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.1817, allocations: 140.3 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1817, allocations: 25.7 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1818, allocations: 124 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1818, allocations: 11.8 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.1818, allocations: 17.72 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.1819, allocations: 322.8 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.1822, allocations: 87.92 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.1825, allocations: 114.5 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.183, allocations: 194.4 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.183, allocations: 3.938 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000579/0.1836, allocations: 241.4 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1836, allocations: 4 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1836, allocations: 7.938 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1836, allocations: 3.938 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.1839, allocations: 43.95 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1839, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1841, allocations: 43.8 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1841, allocations: 4 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 6.526e-05/0.1842, allocations: 117.8 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.1842, allocations: 7.906 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.1848, allocations: 246.1 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1848, allocations: 0 / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1848, allocations: 0 / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1849, allocations: 4 kB / 0.9032 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.185, allocations: 230.4 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.185, allocations: 4 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1853, allocations: 35.95 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1853, allocations: 4 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1853, allocations: 11.92 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1853, allocations: 384 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1853, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.1859, allocations: 327.2 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.1859, allocations: 81.02 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1859, allocations: 7.938 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.1862, allocations: 51.89 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1863, allocations: 3.984 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1863, allocations: 4 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.1863, allocations: 109.3 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1863, allocations: 4 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002402/0.1866, allocations: 27.84 kB / 0.904 GB, free: 59.7 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 (6): * Single equations (assignments): 6 * 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.0007439/0.1873, allocations: 0.8528 MB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.1879, allocations: 195.8 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1879, allocations: 128 / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.1882, allocations: 103.9 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1885, allocations: 14.8 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.1909, allocations: 1.939 MB / 0.907 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.191, allocations: 0.7043 MB / 0.9077 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.1911, allocations: 19.98 kB / 0.9077 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.1912, allocations: 39.34 kB / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.1912, allocations: 0 / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.2022, allocations: 2.443 MB / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.2024, allocations: 202.5 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.825, allocations: 7.938 kB / 0.9104 GB, free: 53.13 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)