Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.427/1.427, allocations: 252 MB / 267 MB, free: 10.96 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.00104/0.001041, allocations: 182.8 kB / 326.6 MB, free: 2.223 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.681/1.681, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0006952/0.0006953, allocations: 96.98 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 13.44 kB / 0.7965 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005821/0.1767, allocations: 338.3 kB / 0.9006 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1778, allocations: 1.118 MB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.1778, allocations: 0 / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.417e-06/0.1778, allocations: 0 / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.178, allocations: 19.91 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.524e-06/0.1781, allocations: 7.938 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.227e-05/0.1781, allocations: 0 / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1781, allocations: 4 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.1782, allocations: 0 / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.505e-05/0.1782, allocations: 7.938 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.1782, allocations: 0 / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1783, allocations: 15.98 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-06/0.1783, allocations: 3.984 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.1783, allocations: 29.64 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.057e-05/0.1784, allocations: 11.98 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1784, allocations: 0 / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1784, allocations: 0 / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1784, allocations: 0 / 0.9018 GB, free: 62.77 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.0001544/0.1786, allocations: 319.4 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1786, allocations: 8.031 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.45e-05/0.1786, allocations: 34.56 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.1787, allocations: 3.953 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.805e-05/0.1787, allocations: 163.1 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1787, allocations: 0 / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1788, allocations: 4 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.1788, allocations: 33.69 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1789, allocations: 4 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1789, allocations: 8 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1789, allocations: 0 / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.1789, allocations: 11.92 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.915e-05/0.179, allocations: 149.6 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1792, allocations: 34.61 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.1792, allocations: 8.859 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1793, allocations: 85.19 kB / 0.9026 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.1794, allocations: 38.56 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1794, allocations: 0 / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.004095/0.1835, allocations: 0.5714 MB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1835, allocations: 51.41 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.817e-05/0.1835, allocations: 93.8 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1836, allocations: 33.64 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-06/0.1836, allocations: 80.14 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1836, allocations: 12.03 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.1836, allocations: 8 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.1837, allocations: 322.8 kB / 0.9038 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.1843, allocations: 75.95 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.1849, allocations: 102.5 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.1854, allocations: 87.95 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1855, allocations: 0 / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00118/0.1866, allocations: 213.6 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1867, allocations: 10.19 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1867, allocations: 0 / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1867, allocations: 0 / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.1871, allocations: 51.97 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1871, allocations: 0 / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.1874, allocations: 43.92 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1875, allocations: 4 kB / 0.9044 GB, free: 59.9 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 (5): * Single equations (assignments): 5 * 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.263e-05/0.1875, allocations: 117.8 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.1876, allocations: 0 / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1889, allocations: 233.1 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1889, allocations: 4 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.189, allocations: 0 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.189, allocations: 432 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1903, allocations: 462.3 kB / 0.9052 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1903, allocations: 0 / 0.9052 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.1907, allocations: 51.97 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1907, allocations: 0 / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1907, allocations: 4.312 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1907, allocations: 3.984 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1907, allocations: 4 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1918, allocations: 311.3 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.1918, allocations: 81.11 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1919, allocations: 3.984 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.1922, allocations: 39.98 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.1922, allocations: 4 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1923, allocations: 0 / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.361e-05/0.1923, allocations: 79.22 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1923, allocations: 0 / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002396/0.1925, allocations: 23.94 kB / 0.9057 GB, free: 58.4 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 (5): * Single equations (assignments): 5 * 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.001286/0.1938, allocations: 0.8412 MB / 0.9066 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.1949, allocations: 176 kB / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1949, allocations: 0 / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.1955, allocations: 92 kB / 0.9068 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.1957, allocations: 5.125 kB / 0.9068 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1968, allocations: 244.3 kB / 0.9071 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.1969, allocations: 0.677 MB / 0.9077 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.1971, allocations: 31.91 kB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.1972, allocations: 11.44 kB / 0.9078 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1972, allocations: 4 kB / 0.9078 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.208, allocations: 1.447 MB / 0.9092 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.2082, allocations: 225.5 kB / 0.9094 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.916, allocations: 0 / 0.9094 GB, free: 54.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)