Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 197.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 68.5 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1775, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001502/0.179, allocations: 0.6656 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.18, allocations: 1.141 MB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.217e-06/0.1801, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.1801, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1802, allocations: 19.92 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.435e-06/0.1802, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.329e-05/0.1803, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.976e-05/0.1803, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-06/0.1803, allocations: 7.938 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.761e-05/0.1803, allocations: 11.94 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.1804, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.1804, allocations: 27.89 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.859e-06/0.1805, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-06/0.1805, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.731e-05/0.1805, allocations: 15.92 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1805, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1805, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.1806, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 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.000198/0.1808, allocations: 315.6 kB / 0.7849 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1808, allocations: 20.02 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.317e-05/0.1808, allocations: 30.75 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.517e-05/0.1808, allocations: 0.9375 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.455e-05/0.1809, allocations: 164.3 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1809, allocations: 4.375 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1809, allocations: 4.375 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.891e-05/0.181, allocations: 37.81 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.181, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-06/0.181, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1811, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.1811, allocations: 12 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.1812, allocations: 161.8 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1813, allocations: 38.55 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.1814, allocations: 4.859 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.1815, allocations: 85.11 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1815, allocations: 42.58 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1815, allocations: 4 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.003923/0.1854, allocations: 0.5603 MB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1855, allocations: 55.39 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.179e-05/0.1855, allocations: 89.86 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1855, allocations: 25.7 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.1856, allocations: 80.14 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.1856, allocations: 15.81 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.1856, allocations: 17.7 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.1857, allocations: 318.8 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.1863, allocations: 79.95 kB / 0.7867 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.1869, allocations: 106.5 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.188, allocations: 190.4 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.188, allocations: 3.938 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001152/0.1892, allocations: 217.5 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1892, allocations: 8 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1892, allocations: 3.938 kB / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1892, allocations: 0 / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.1896, allocations: 52 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1896, allocations: 3.938 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.1899, allocations: 40.17 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.19, allocations: 3.984 kB / 0.7873 GB, free: 8.973 MB / 0.6075 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 7.611e-05/0.19, allocations: 117.8 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.1901, allocations: 11.84 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.1913, allocations: 229.1 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1913, allocations: 4 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1914, allocations: 0 / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1914, allocations: 0 / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1927, allocations: 462.3 kB / 0.7881 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1927, allocations: 0 / 0.7881 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1931, allocations: 47.97 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1931, allocations: 0 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1931, allocations: 7.984 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1931, allocations: 0 / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1931, allocations: 0 / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.1943, allocations: 307.4 kB / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.1943, allocations: 85.09 kB / 0.7885 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1944, allocations: 0 / 0.7885 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.1947, allocations: 35.98 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.1947, allocations: 4 kB / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1947, allocations: 3.984 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.1948, allocations: 79.28 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1948, allocations: 0 / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000228/0.195, allocations: 16 kB / 0.7887 GB, free: 7.48 MB / 0.6075 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.001412/0.1964, allocations: 0.8452 MB / 0.7895 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.1976, allocations: 176 kB / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1976, allocations: 4 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.1981, allocations: 96.02 kB / 0.7898 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.1983, allocations: 7.938 kB / 0.7898 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1995, allocations: 248.3 kB / 0.79 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.1996, allocations: 0.677 MB / 0.7907 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.1999, allocations: 24 kB / 0.7907 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1999, allocations: 19.42 kB / 0.7907 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1999, allocations: 0 / 0.7907 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9371/1.137, allocations: 1.494 MB / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/1.137, allocations: 229.4 kB / 0.7924 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/3.249, allocations: 0 / 0.7924 GB, free: 3.695 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)