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.332/1.332, 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.001028/0.001028, allocations: 164.9 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.611/1.611, 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.0006636/0.0006636, allocations: 87.8 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 15.52 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1727, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005997/0.1733, allocations: 338 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1744, allocations: 1.141 MB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.116e-05/0.1744, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.1745, allocations: 8 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1746, allocations: 7.984 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.354e-06/0.1747, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.842e-05/0.1747, allocations: 11.92 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.1747, allocations: 4 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.1747, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.062e-05/0.1748, allocations: 4 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-06/0.1748, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.1749, allocations: 19.97 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.1749, allocations: 7.875 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.1749, allocations: 29.7 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.89e-05/0.175, allocations: 15.98 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.175, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.512e-06/0.175, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.175, allocations: 4 kB / 0.9025 GB, free: 61.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.000182/0.1752, allocations: 307.5 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1752, allocations: 12.09 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.1753, allocations: 30.75 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.765e-05/0.1753, allocations: 0.9375 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.688e-05/0.1753, allocations: 164.4 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1753, allocations: 4.375 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1754, allocations: 8.375 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1755, allocations: 45.69 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1755, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1755, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1755, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.1756, allocations: 11.92 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.1757, allocations: 149.7 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.1758, allocations: 38.61 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.1759, allocations: 4.859 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.176, allocations: 85.19 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.176, allocations: 46.44 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.176, allocations: 0 / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.003923/0.1799, allocations: 0.5676 MB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.18, allocations: 55.41 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.525e-05/0.18, allocations: 93.86 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.18, allocations: 25.7 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-06/0.18, allocations: 80.14 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1801, allocations: 16.03 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.1801, allocations: 4 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.1801, allocations: 314.8 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.1807, allocations: 83.95 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.1813, allocations: 102.5 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.1824, allocations: 186.4 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1824, allocations: 0 / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001161/0.1835, allocations: 217.5 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1836, allocations: 11.98 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1836, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1836, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.184, allocations: 52 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.184, allocations: 0 / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.1843, allocations: 40.17 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1843, allocations: 4 kB / 0.9051 GB, free: 58.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.1844, allocations: 117.8 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1844, allocations: 3.938 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1857, allocations: 237 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1857, allocations: 4 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1857, allocations: 0 / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1857, allocations: 3.938 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.187, allocations: 454.4 kB / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1871, allocations: 0 / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.1874, allocations: 47.97 kB / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1875, allocations: 0 / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1875, allocations: 8 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1875, allocations: 7.984 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1875, allocations: 0 / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1886, allocations: 303.3 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.1887, allocations: 85.05 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1887, allocations: 3.938 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.189, allocations: 43.97 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.1891, allocations: 0 / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1891, allocations: 4 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.245e-05/0.1891, allocations: 75.28 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 8 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002289/0.1893, allocations: 12 kB / 0.9065 GB, free: 57.29 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 (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.001354/0.1907, allocations: 0.8392 MB / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.1919, allocations: 184 kB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1919, allocations: 0 / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.1924, allocations: 88.06 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.1926, allocations: 12 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1938, allocations: 240.4 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.1939, allocations: 0.677 MB / 0.9085 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.1941, allocations: 31.94 kB / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.1942, allocations: 15.44 kB / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.1942, allocations: 0 / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009943/0.2041, allocations: 1.448 MB / 0.9099 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.2043, allocations: 244.2 kB / 0.9102 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.674, allocations: 3.859 kB / 0.9102 GB, free: 53.59 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)