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.00133/0.00133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001341/0.00134, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.092/1.092, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.454/1.454, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.002492/0.002492, allocations: 68.77 kB / 0.6711 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1722, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001467/0.1737, allocations: 0.6588 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1748, allocations: 1.133 MB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.1749, allocations: 3.938 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.1749, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1751, allocations: 15.98 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.1751, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.047e-05/0.1751, allocations: 8 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.1752, allocations: 0 / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.02e-05/0.1752, allocations: 3.938 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.948e-05/0.1752, allocations: 15.92 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.1752, allocations: 0 / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/0.1753, allocations: 15.98 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-06/0.1753, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.026e-05/0.1753, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.289e-05/0.1754, allocations: 23.84 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1754, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.031e-06/0.1754, allocations: 4 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1754, allocations: 0 / 0.7848 GB, free: 11.88 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.0001972/0.1756, allocations: 315.6 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1757, allocations: 12.03 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.1757, allocations: 30.75 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.954e-05/0.1757, allocations: 8.938 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.1758, allocations: 164.4 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1758, allocations: 384 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1758, allocations: 384 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.966e-05/0.1759, allocations: 33.83 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1759, allocations: 0 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.1759, allocations: 4 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.1759, allocations: 4 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.176, allocations: 15.92 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1761, allocations: 157.8 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1762, allocations: 30.56 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.1762, allocations: 16.86 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.1764, allocations: 85.19 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.1764, allocations: 38.5 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1764, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.003765/0.1802, allocations: 0.5676 MB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1802, allocations: 55.34 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.495e-05/0.1802, allocations: 93.86 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1803, allocations: 25.7 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.735e-05/0.1803, allocations: 80.14 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1803, allocations: 15.8 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.1804, allocations: 17.72 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.1804, allocations: 318.8 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.181, allocations: 75.95 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.1815, allocations: 110.5 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.1826, allocations: 190.4 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1826, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001109/0.1837, allocations: 217.7 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1837, allocations: 6.188 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1837, allocations: 7.984 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1837, allocations: 4 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.1841, allocations: 48 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1841, allocations: 4 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.1844, allocations: 35.98 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1844, allocations: 4 kB / 0.7875 GB, free: 8.867 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 6.789e-05/0.1845, allocations: 113.8 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.1845, allocations: 15.83 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.1858, allocations: 237 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1858, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1858, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1858, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.1871, allocations: 462.3 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1871, allocations: 4 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1875, allocations: 47.97 kB / 0.7883 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1875, allocations: 0 / 0.7883 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1875, allocations: 4 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1875, allocations: 0 / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1875, allocations: 4 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1886, allocations: 303.4 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1887, allocations: 77.11 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1887, allocations: 4 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.189, allocations: 39.97 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.189, allocations: 4 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.189, allocations: 4.188 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.1891, allocations: 79.22 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 0 / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002194/0.1893, allocations: 8 kB / 0.7888 GB, free: 7.379 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.001408/0.1907, allocations: 0.8645 MB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.1918, allocations: 175.9 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1918, allocations: 0 / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.1923, allocations: 92.06 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1925, allocations: 8 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1936, allocations: 254.4 kB / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.1938, allocations: 0.6768 MB / 0.7909 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.194, allocations: 24 kB / 0.7909 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.1941, allocations: 19.44 kB / 0.7909 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1941, allocations: 0 / 0.7909 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.933/3.128, allocations: 1.531 MB / 0.7924 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/3.128, allocations: 225.7 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.812/6.94, allocations: 0 / 0.7926 GB, free: 3.566 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)